@Override public void openDir(String path, long revision) throws SVNException { if (editor != null) editor.openDir(path, revision); allowDelete = true; }
public void openDir(String path, long revision) throws SVNException { myCancel.checkCancelled(); myLog.logFine(SVNLogType.WC, "open dir " + path); myDelegate.openDir(path, revision); }
public void openDir(String path, long revision) throws SVNException { myCancel.checkCancelled(); myLog.logFine(SVNLogType.WC, "open dir " + path); myDelegate.openDir(path, revision); }
public void openDir(String path, long revision) throws SVNException { myCancel.checkCancelled(); myLog.logFine(SVNLogType.WC, "open dir " + path); myDelegate.openDir(path, revision); }
public void openDir(String path, long revision) throws SVNException { myCancel.checkCancelled(); myLog.info("open dir " + path); myDelegate.openDir(path, revision); }
public void openDir(String path, long revision) throws SVNException { EntryBaton baton = new EntryBaton(getSourceRepository().getRepositoryPath(path)); baton.myPropsAct = ACCEPT; myDirsStack.push(baton); myCommitEditor.openDir(path, myPreviousRevision); }
/** * Opens a corresponding <code>path</code> in the target repository. * * @param path target directory path relative to the root of the edit * @param revision target directory revision * @throws SVNException */ public void openDir(String path, long revision) throws SVNException { EntryBaton baton = new EntryBaton(getSourceRepository().getRepositoryPath(path)); baton.myPropsAct = ACCEPT; myDirsStack.push(baton); myCommitEditor.openDir(path, myPreviousRevision); }
/** * Opens a corresponding <code>path</code> in the target repository. * * @param path target directory path relative to the root of the edit * @param revision target directory revision * @throws SVNException */ public void openDir(String path, long revision) throws SVNException { EntryBaton baton = new EntryBaton(getSourceRepository().getRepositoryPath(path)); baton.myPropsAct = ACCEPT; myDirsStack.push(baton); myCommitEditor.openDir(path, myPreviousRevision); }
/** * Opens a corresponding <code>path</code> in the target repository. * * @param path target directory path relative to the root of the edit * @param revision target directory revision * @throws SVNException */ public void openDir(String path, long revision) throws SVNException { EntryBaton baton = new EntryBaton(getSourceRepository().getRepositoryPath(path)); baton.myPropsAct = ACCEPT; myDirsStack.push(baton); myCommitEditor.openDir(path, myPreviousRevision); }
public void openDir(String path, long revision) throws SVNException { NodeBaton childNodeBaton = null; if (myCurrentNodeBaton.canEdit(SVNNodeKind.DIR)) { childNodeBaton = new NodeBaton(false, myCurrentNodeBaton.myDirDepth + 1, myCurrentNodeBaton); myDelegate.openDir(path, revision); } else { childNodeBaton = new NodeBaton(true, myCurrentNodeBaton.myDirDepth + 1, myCurrentNodeBaton); } myCurrentNodeBaton = childNodeBaton; }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = myCurrentDirBaton; myCurrentDirBaton = makeDirBaton(path, parentBaton); if (myCurrentDirBaton.myIsAmbientlyExcluded) { return; } myDelegate.openDir(path, revision); SVNEntry entry = myWCAccess.getEntry(myCurrentDirBaton.myPath, false); if (entry != null) { myCurrentDirBaton.myAmbientDepth = entry.getDepth(); } }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = myCurrentDirBaton; myCurrentDirBaton = makeDirBaton(path, parentBaton); if (myCurrentDirBaton.myIsAmbientlyExcluded) { return; } myDelegate.openDir(path, revision); SVNEntry entry = myWCAccess.getEntry(myCurrentDirBaton.myPath, false); if (entry != null) { myCurrentDirBaton.myAmbientDepth = entry.getDepth(); } }
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = myCurrentDirBaton; myCurrentDirBaton = makeDirBaton(path, parentBaton); if (myCurrentDirBaton.myIsAmbientlyExcluded) { return; } myDelegate.openDir(path, revision); SVNEntry entry = myWCAccess.getEntry(myCurrentDirBaton.myPath, false); if (entry != null) { myCurrentDirBaton.myAmbientDepth = entry.getDepth(); } }
public void openDir(String path, long revision) throws SVNException { NodeBaton childNodeBaton = null; if (myCurrentNodeBaton.canEdit(SVNNodeKind.DIR)) { childNodeBaton = new NodeBaton(false, myCurrentNodeBaton.myDirDepth + 1, myCurrentNodeBaton); myDelegate.openDir(path, revision); } else { childNodeBaton = new NodeBaton(true, myCurrentNodeBaton.myDirDepth + 1, myCurrentNodeBaton); } myCurrentNodeBaton = childNodeBaton; }
public void openDir(String path, long revision) throws SVNException { NodeBaton childNodeBaton = null; if (myCurrentNodeBaton.canEdit(SVNNodeKind.DIR)) { childNodeBaton = new NodeBaton(false, myCurrentNodeBaton.myDirDepth + 1, myCurrentNodeBaton); myDelegate.openDir(path, revision); } else { childNodeBaton = new NodeBaton(true, myCurrentNodeBaton.myDirDepth + 1, myCurrentNodeBaton); } myCurrentNodeBaton = childNodeBaton; }
SVNRepository repository = SVNRepositoryFactory.create(url); ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(user,password); repository.setAuthenticationManager(authManager); SVNPropertyValue svnPropertyValue = SVNPropertyValue.create("def"); ISVNEditor editor = repository.getCommitEditor("comment", null); editor.openRoot(-1); editor.openDir("dirname", -1); editor.changeDirProperty("myproperty", svnPropertyValue); editor.closeEdit();
public void openDir(String path, long revision) throws SVNException { DirBaton parentBaton = myCurrentDirBaton; myCurrentDirBaton = makeDirBaton(path, parentBaton); if (myCurrentDirBaton.myIsAmbientlyExcluded) { return; } myDelegate.openDir(path, revision); File abspath = SVNFileUtil.createFilePath(myAnchor, SVNWCUtils.skipAncestor(myAnchor, SVNFileUtil.createFilePath(path))); AmbientReadInfo aInfo = ambientReadInfo(abspath, myReadBase); if (aInfo.kind != SVNWCDbKind.Unknown && !aInfo.hidden) { myCurrentDirBaton.myAmbientDepth = aInfo.depth; } }
private static void replaceFileOrDir(FSFS fsfs, ISVNEditor editor, FSRevisionRoot srcRoot, FSRevisionRoot tgtRoot, String srcPath, String tgtPath, String editPath, SVNNodeKind tgtKind) throws SVNException { long baseRevision = srcRoot.getRevision(); if (tgtKind == SVNNodeKind.DIR) { editor.openDir(editPath, baseRevision); deltifyDirs(fsfs, editor, srcRoot, tgtRoot, srcPath, tgtPath, editPath); editor.closeDir(); } else { editor.openFile(editPath, baseRevision); deltifyFiles(fsfs, editor, srcRoot, tgtRoot, srcPath, tgtPath, editPath); FSRevisionNode tgtNode = tgtRoot.getRevisionNode(tgtPath); editor.closeFile(editPath, tgtNode.getFileMD5Checksum()); } }
private static void replaceFileOrDir(FSFS fsfs, ISVNEditor editor, FSRevisionRoot srcRoot, FSRevisionRoot tgtRoot, String srcPath, String tgtPath, String editPath, SVNNodeKind tgtKind) throws SVNException { long baseRevision = srcRoot.getRevision(); if (tgtKind == SVNNodeKind.DIR) { editor.openDir(editPath, baseRevision); deltifyDirs(fsfs, editor, srcRoot, tgtRoot, srcPath, tgtPath, editPath); editor.closeDir(); } else { editor.openFile(editPath, baseRevision); deltifyFiles(fsfs, editor, srcRoot, tgtRoot, srcPath, tgtPath, editPath); FSRevisionNode tgtNode = tgtRoot.getRevisionNode(tgtPath); editor.closeFile(editPath, tgtNode.getFileMD5Checksum()); } }
private void replaceFileOrDir(FSRevisionRoot srcRoot, FSRevisionRoot tgtRoot, String srcPath, String tgtPath, String editPath, SVNNodeKind tgtKind) throws SVNException { long baseRevision = srcRoot.getRevision(); if (tgtKind == SVNNodeKind.DIR) { myEditor.openDir(editPath, baseRevision); deltifyDirs(srcRoot, tgtRoot, srcPath, tgtPath, editPath); myEditor.closeDir(); } else { myEditor.openFile(editPath, baseRevision); deltifyFiles(srcRoot, tgtRoot, srcPath, tgtPath, editPath); FSRevisionNode tgtNode = tgtRoot.getRevisionNode(tgtPath); myEditor.closeFile(editPath, tgtNode.getFileMD5Checksum()); } }