public SVNLock getLock(String path) throws SVNException { try { openRepository(); path = getRepositoryPath(path); SVNLock lock = myFSFS.getLockHelper(path, false); return lock; } finally { closeRepository(); } }
public SVNLock getLock(String path) throws SVNException { try { openRepository(); path = getRepositoryPath(path); SVNLock lock = myFSFS.getLockHelper(path, false); return lock; } finally { closeRepository(); } }
public SVNLock getLock(String path) throws SVNException { try { openRepository(); path = getRepositoryPath(path); SVNLock lock = myFSFS.getLockHelper(path, false); return lock; } finally { closeRepository(); } }
protected long getDeletedRevisionImpl(String path, long pegRevision, long endRevision) throws SVNException { try { openRepository(); path = getRepositoryPath(path); return myFSFS.getDeletedRevision(path, pegRevision, endRevision); } finally { closeRepository(); } }
public SVNLock getLock(String path) throws SVNException { try { openRepository(); path = getRepositoryPath(path); SVNLock lock = myFSFS.getLockHelper(path, false); return lock; } finally { closeRepository(); } }
public void replay(long lowRevision, long highRevision, boolean sendDeltas, ISVNEditor editor) throws SVNException { try { openRepository(); FSRevisionRoot root = myFSFS.createRevisionRoot(highRevision); String basePath = getRepositoryPath(""); FSRepositoryUtil.replay(myFSFS, root, basePath, lowRevision, sendDeltas, editor); } finally { closeRepository(); } }
public ISVNEditor getCommitEditor(String logMessage, Map locks, boolean keepLocks, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } // fetch user name! String author = getUserName(); FSCommitEditor commitEditor = new FSCommitEditor(getRepositoryPath(""), logMessage, author, locks, keepLocks, null, myFSFS, this); return commitEditor; }
protected long getLocationSegmentsImpl(String path, long pegRevision, long startRevision, long endRevision, ISVNLocationSegmentHandler handler) throws SVNException { try { openRepository(); path = getRepositoryPath(path); FSLocationsFinder locationsFinder = getLocationsFinder(); return locationsFinder.getNodeLocationSegments(path, pegRevision, startRevision, endRevision, handler); } finally { closeRepository(); } }
public void replay(long lowRevision, long highRevision, boolean sendDeltas, ISVNEditor editor) throws SVNException { try { openRepository(); FSRevisionRoot root = myFSFS.createRevisionRoot(highRevision); String basePath = getRepositoryPath(""); FSRepositoryUtil.replay(myFSFS, root, basePath, lowRevision, sendDeltas, editor); } finally { closeRepository(); } }
public ISVNEditor getCommitEditor(String logMessage, Map locks, boolean keepLocks, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } // fetch user name! String author = getUserName(); return new FSCommitEditor(getRepositoryPath(""), logMessage, author, locks, keepLocks, null, myFSFS, this); }
protected long getLocationSegmentsImpl(String path, long pegRevision, long startRevision, long endRevision, ISVNLocationSegmentHandler handler) throws SVNException { try { openRepository(); path = getRepositoryPath(path); FSLocationsFinder locationsFinder = getLocationsFinder(); return locationsFinder.getNodeLocationSegments(path, pegRevision, startRevision, endRevision, handler); } finally { closeRepository(); } }
public ISVNEditor getCommitEditor(String logMessage, Map locks, boolean keepLocks, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } // fetch user name! String author = getUserName(); FSCommitEditor commitEditor = new FSCommitEditor(getRepositoryPath(""), logMessage, author, locks, keepLocks, null, myFSFS, this); return commitEditor; }
protected long getLocationSegmentsImpl(String path, long pegRevision, long startRevision, long endRevision, ISVNLocationSegmentHandler handler) throws SVNException { try { openRepository(); path = getRepositoryPath(path); FSLocationsFinder locationsFinder = getLocationsFinder(); return locationsFinder.getNodeLocationSegments(path, pegRevision, startRevision, endRevision, handler); } finally { closeRepository(); } }
public void replay(long lowRevision, long highRevision, boolean sendDeltas, ISVNEditor editor) throws SVNException { try { openRepository(); FSRevisionRoot root = myFSFS.createRevisionRoot(highRevision); String basePath = getRepositoryPath(""); FSRepositoryUtil.replay(myFSFS, root, basePath, lowRevision, sendDeltas, editor); } finally { closeRepository(); } }
public ISVNEditor getCommitEditor(String logMessage, Map locks, boolean keepLocks, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } // fetch user name! String author = getUserName(); FSCommitEditor commitEditor = new FSCommitEditor(getRepositoryPath(""), logMessage, author, locks, keepLocks, null, myFSFS, this); return commitEditor; }
protected int getLocationsImpl(String path, long pegRevision, long[] revisions, ISVNLocationEntryHandler handler) throws SVNException { assertValidRevision(pegRevision); for (int i = 0; i < revisions.length; i++) { assertValidRevision(revisions[i]); } try { openRepository(); path = getRepositoryPath(path); FSLocationsFinder locationsFinder = getLocationsFinder(); return locationsFinder.traceNodeLocations(path, pegRevision, revisions, handler); } finally { closeRepository(); } }
public SVNNodeKind checkPath(String path, long revision) throws SVNException { try { openRepository(); if (!SVNRepository.isValidRevision(revision)) { revision = myFSFS.getYoungestRevision(); } String repositoryPath = getRepositoryPath(path); FSRevisionRoot root = myFSFS.createRevisionRoot(revision); return root.checkNodeKind(repositoryPath); } finally { closeRepository(); } }
protected ISVNEditor getCommitEditorInternal(Map locks, boolean keepLocks, SVNProperties revProps, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } revProps = revProps == null ? new SVNProperties() : revProps; if (!revProps.containsName(SVNRevisionProperty.AUTHOR)) { revProps.put(SVNRevisionProperty.AUTHOR, getUserName()); } return new FSCommitEditor(getRepositoryPath(""), locks, keepLocks, null, myFSFS, this, revProps); }
protected ISVNEditor getCommitEditorInternal(Map locks, boolean keepLocks, SVNProperties revProps, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } revProps = revProps == null ? new SVNProperties() : revProps; if (!revProps.containsName(SVNRevisionProperty.AUTHOR)) { revProps.put(SVNRevisionProperty.AUTHOR, getUserName()); } return new FSCommitEditor(getRepositoryPath(""), locks, keepLocks, null, myFSFS, this, revProps); }
protected ISVNEditor getCommitEditorInternal(Map locks, boolean keepLocks, SVNProperties revProps, ISVNWorkspaceMediator mediator) throws SVNException { try { openRepository(); } catch (SVNException svne) { closeRepository(); throw svne; } revProps = revProps == null ? new SVNProperties() : revProps; if (!revProps.containsName(SVNRevisionProperty.AUTHOR)) { revProps.put(SVNRevisionProperty.AUTHOR, getUserName()); } return new FSCommitEditor(getRepositoryPath(""), locks, keepLocks, null, myFSFS, this, revProps); }