public void openFile(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton)myDirsStack.peek(); String fileToken = "c" + myNextToken++; myConnection.write("(w(sss(n)))", new Object[] { "open-file", path, parentBaton.getToken(), fileToken, getRevisionObject(revision) }); if(myFilesToTokens == null){ myFilesToTokens = new HashMap(); } myFilesToTokens.put(path, fileToken); }
public void deleteEntry(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); myConnection.write("(w(s(n)s))", new Object[]{"delete-entry", path, getRevisionObject(revision), parentBaton.getToken()}); }
public void deleteEntry(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); myConnection.write("(w(s(n)s))", new Object[]{"delete-entry", path, getRevisionObject(revision), parentBaton.getToken()}); }
public void deleteEntry(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); myConnection.write("(w(s(n)s))", new Object[]{"delete-entry", path, getRevisionObject(revision), parentBaton.getToken()}); }
public void deleteEntry(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton)myDirsStack.peek(); myConnection.write("(w(s(n)s))", new Object[] { "delete-entry", path, getRevisionObject(revision), parentBaton.getToken() }); }
public void openFile(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); String fileToken = "c" + myNextToken++; myConnection.write("(w(sss(n)))", new Object[]{"open-file", path, parentBaton.getToken(), fileToken, getRevisionObject(revision)}); if (myFilesToTokens == null) { myFilesToTokens = new SVNHashMap(); } myFilesToTokens.put(path, fileToken); }
public void openFile(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); String fileToken = "c" + myNextToken++; myConnection.write("(w(sss(n)))", new Object[]{"open-file", path, parentBaton.getToken(), fileToken, getRevisionObject(revision)}); if (myFilesToTokens == null) { myFilesToTokens = new SVNHashMap(); } myFilesToTokens.put(path, fileToken); }
public void openFile(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); String fileToken = "c" + myNextToken++; myConnection.write("(w(sss(n)))", new Object[]{"open-file", path, parentBaton.getToken(), fileToken, getRevisionObject(revision)}); if (myFilesToTokens == null) { myFilesToTokens = new SVNHashMap(); } myFilesToTokens.put(path, fileToken); }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); myConnection.write("(w(sss(n)))", new Object[]{"open-dir", path, parentBaton.getToken(), dirBaton.getToken(), getRevisionObject(revision)}); myDirsStack.push(dirBaton); }
public void openRoot(long revision) throws SVNException { DirBaton rootBaton = new DirBaton(myNextToken++); myConnection.write("(w((n)s))", new Object[]{"open-root", getRevisionObject(revision), rootBaton.getToken()}); myDirsStack.push(rootBaton); }
public void openRoot(long revision) throws SVNException { DirBaton rootBaton = new DirBaton(myNextToken++); myConnection.write("(w((n)s))", new Object[]{"open-root", getRevisionObject(revision), rootBaton.getToken()}); myDirsStack.push(rootBaton); }
public void openRoot(long revision) throws SVNException { DirBaton rootBaton = new DirBaton(myNextToken++); myConnection.write("(w((n)s))", new Object[] { "open-root", getRevisionObject(revision), rootBaton.getToken() }); myDirsStack.push(rootBaton); }
public void openRoot(long revision) throws SVNException { DirBaton rootBaton = new DirBaton(myNextToken++); myConnection.write("(w((n)s))", new Object[]{"open-root", getRevisionObject(revision), rootBaton.getToken()}); myDirsStack.push(rootBaton); }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); myConnection.write("(w(sss(n)))", new Object[]{"open-dir", path, parentBaton.getToken(), dirBaton.getToken(), getRevisionObject(revision)}); myDirsStack.push(dirBaton); }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton)myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); myConnection.write("(w(sss(n)))", new Object[] { "open-dir", path, parentBaton.getToken(), dirBaton.getToken(), getRevisionObject(revision) }); myDirsStack.push(dirBaton); }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); myConnection.write("(w(sss(n)))", new Object[]{"open-dir", path, parentBaton.getToken(), dirBaton.getToken(), getRevisionObject(revision)}); myDirsStack.push(dirBaton); }
public void addFile(String path, String copyFromPath, long copyFromRevision) throws SVNException { DirBaton parentBaton = (DirBaton)myDirsStack.peek(); String fileToken = "c" + myNextToken++; if (copyFromPath != null) { String host = myRepository.getRepositoryRoot(false).toString(); copyFromPath = SVNPathUtil.append(host, SVNEncodingUtil.uriEncode(myRepository.getRepositoryPath(copyFromPath))); myConnection.write("(w(sss(sn)))", new Object[] { "add-file", path, parentBaton.getToken(), fileToken, copyFromPath, getRevisionObject(copyFromRevision) }); } else { myConnection.write("(w(sss()))", new Object[] { "add-file", path, parentBaton.getToken(), fileToken }); } if(myFilesToTokens == null){ myFilesToTokens = new HashMap(); } myFilesToTokens.put(path, fileToken); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); 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, parentBaton.getToken(), dirBaton.getToken(), copyFromPath, getRevisionObject(copyFromRevision)}); } else { myConnection.write("(w(sss()))", new Object[]{"add-dir", path, parentBaton.getToken(), dirBaton.getToken()}); } myDirsStack.push(dirBaton); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { DirBaton parentBaton = (DirBaton) myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); 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, parentBaton.getToken(), dirBaton.getToken(), copyFromPath, getRevisionObject(copyFromRevision)}); } else { myConnection.write("(w(sss()))", new Object[]{"add-dir", path, parentBaton.getToken(), dirBaton.getToken()}); } myDirsStack.push(dirBaton); }
public void addDir(String path, String copyFromPath, long copyFromRevision) throws SVNException { DirBaton parentBaton = (DirBaton)myDirsStack.peek(); DirBaton dirBaton = new DirBaton(myNextToken++); 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, parentBaton.getToken(), dirBaton.getToken(), copyFromPath, getRevisionObject(copyFromRevision) }); } else { myConnection.write("(w(sss()))", new Object[] { "add-dir", path, parentBaton.getToken(), dirBaton.getToken() }); } myDirsStack.push(dirBaton); }