myCurrentPath = path;
myDirsStack.push(dirBaton);
    public void addDir(String path, String copyFromPath, long copyFromRevision)            throws SVNException {        if (copyFromPath != null) {            String rootURL = myRepository.getRepositoryRoot(false).toString();            copyFromPath = SVNPathUtil.append(rootURL, SVNEncodingUtil.uriEncode(myRepository.getRepositoryPath(copyFromPath)));            myConnection.write("(w(sss(sn)))", new Object[] { "add-dir", path,                    myCurrentPath, path, copyFromPath,                    getRevisionObject(copyFromRevision) });        } else {            myConnection.write("(w(sss()))", new Object[] { "add-dir", path,                    myCurrentPath, path });        }        myCurrentPath = path;    }