if (!myIsDoNotSleepForTimeStamp) { SVNFileUtil.sleepForTimestamp(); }
    public long doSwitch(File file, String url, SVNRevision revision, boolean recursive) throws SVNException {        url = validateURL(url);        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, url, recursive);            SVNRepository repos = createRepository(wcAccess.getTargetEntryProperty(SVNProperty.URL));            String target = "".equals(wcAccess.getTargetName()) ? null : wcAccess.getTargetName();            repos.update(url, revNumber, target, recursive, reporter, editor);                        if (editor.getTargetRevision() >= 0) {                dispatchEvent(SVNEvent.createUpdateCompletedEvent(wcAccess, editor.getTargetRevision()));            }            return editor.getTargetRevision();        } finally {            wcAccess.close(true, recursive);        }    }