SVNRepository repos = createRepository(wcAccess.getTargetEntryProperty(SVNProperty.URL));
SVNRepository repos = createRepository(wcAccess.getAnchor().getEntries().getEntry("").getURL());
    public long doUpdate(File file, SVNRevision revision, boolean recursive) throws SVNException {                long revNumber = getRevisionNumber(file, revision);        SVNWCAccess wcAccess = createWCAccess(file);        final SVNReporter reporter = new SVNReporter(wcAccess, true);        try {            wcAccess.open(true, recursive);            SVNUpdateEditor editor = new SVNUpdateEditor(wcAccess, null, recursive);            SVNRepository repos = createRepository(wcAccess.getTargetEntryProperty(SVNProperty.URL));            String target = "".equals(wcAccess.getTargetName()) ? null : wcAccess.getTargetName();            repos.update(revNumber, target, recursive, reporter, editor);            if (editor.getTargetRevision() >= 0) {                handleExternals(wcAccess);                dispatchEvent(SVNEvent.createUpdateCompletedEvent(wcAccess, editor.getTargetRevision()));            }            return editor.getTargetRevision();        } finally {                        wcAccess.close(true, recursive);            if (!myIsDoNotSleepForTimeStamp) {                SVNFileUtil.sleepForTimestamp();            }                    }    }