myRootURL = entry.getRepositoryRoot();
    public SVNUpdateEditor(SVNWCAccess wcAccess, String switchURL, boolean recursive, boolean leaveConflicts) throws SVNException {        myWCAccess = wcAccess;        myIsRecursive = recursive;        myTarget = wcAccess.getTargetName();        mySwitchURL = switchURL;        myTargetRevision = -1;        myIsLeaveConflicts = leaveConflicts;        myDeltaProcessor = new SVNDeltaProcessor();        SVNEntry entry = wcAccess.getAnchor().getEntries().getEntry("", true);        myTargetURL = entry.getURL();        if (myTarget != null) {            myTargetURL = SVNPathUtil.append(myTargetURL, SVNEncodingUtil.uriEncode(myTarget));        }        wcAccess.getTarget().getEntries().close();        if ("".equals(myTarget)) {            myTarget = null;        }    }