public class SvnNgCommit extends SvnNgOperationRunner<SVNCommitInfo,SvnCommit> implements ISvnCommitRunner, SvnNgCommitUtil.ISvnUrlKindCallback
Modifier and Type | Class and Description |
---|---|
private static class |
SvnNgCommit.SvnCommittedQueue |
private static class |
SvnNgCommit.SvnCommittedQueueItem |
UNKNOWN
NULL
Constructor and Description |
---|
SvnNgCommit() |
Modifier and Type | Method and Description |
---|---|
private void |
appendExternalsAsExplicitTargets(java.util.Collection<java.lang.String> targets,
java.io.File baseAbsPath,
boolean includeFileExternals,
boolean includeDirectoryExternals,
SVNDepth depth,
SVNWCContext context) |
SvnCommitPacket |
collectCommitItems(SvnCommit operation) |
private java.util.Collection<java.io.File> |
determineLockTargets(java.io.File baseDirectory,
java.util.Collection<java.lang.String> targets) |
void |
disposeCommitPacket(java.lang.Object lockingContext,
boolean disposeParentContext) |
protected SVNCommitInfo |
doRun(SVNWCContext context,
SvnCommitPacket packet) |
SVNNodeKind |
getUrlKind(SVNURL url,
long revision) |
private void |
postProcessCommitItem(SvnNgCommit.SvnCommittedQueue queue,
SvnCommitItem item,
boolean keepChangelists,
boolean keepLocks,
SvnChecksum sha1Checksum) |
private void |
processCommittedInternal(java.io.File localAbspath,
boolean recurse,
boolean topOfRecurse,
long newRevision,
SVNDate revDate,
java.lang.String revAuthor,
SVNProperties newDavCache,
boolean unlockOnly,
boolean noUnlock,
boolean keepChangelist,
SvnChecksum sha1Checksum,
SvnNgCommit.SvnCommittedQueue queue) |
private void |
processCommittedLeaf(java.io.File localAbspath,
boolean viaRecurse,
long newRevnum,
SVNDate newChangedDate,
java.lang.String newChangedAuthor,
SVNProperties newDavCache,
boolean unlockOnly,
boolean noUnlock,
boolean keepChangelist,
SvnChecksum checksum) |
private void |
processCommittedQueue(SvnNgCommit.SvnCommittedQueue queue,
long newRevision,
java.util.Date revDate,
java.lang.String revAuthor) |
private void |
queueCommitted(SvnNgCommit.SvnCommittedQueue queue,
java.io.File localAbsPath,
boolean recurse,
SVNProperties wcPropChanges,
boolean unlockOnly,
boolean removeLock,
boolean removeChangelist,
SvnChecksum sha1Checksum) |
protected SVNCommitInfo |
run(SVNWCContext context) |
java.lang.Object |
splitLockingContext(java.lang.Object lockingContext,
SvnCommitPacket newPacket) |
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, setRepositoryAccess
getFirstTarget, isApplicable, sleepForTimestamp
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
public SvnCommitPacket collectCommitItems(SvnCommit operation) throws SVNException
collectCommitItems
in interface ISvnCommitRunner
SVNException
private void appendExternalsAsExplicitTargets(java.util.Collection<java.lang.String> targets, java.io.File baseAbsPath, boolean includeFileExternals, boolean includeDirectoryExternals, SVNDepth depth, SVNWCContext context) throws SVNException
SVNException
protected SVNCommitInfo run(SVNWCContext context) throws SVNException
run
in class SvnNgOperationRunner<SVNCommitInfo,SvnCommit>
SVNException
protected SVNCommitInfo doRun(SVNWCContext context, SvnCommitPacket packet) throws SVNException
SVNException
private void postProcessCommitItem(SvnNgCommit.SvnCommittedQueue queue, SvnCommitItem item, boolean keepChangelists, boolean keepLocks, SvnChecksum sha1Checksum) throws SVNException
SVNException
public SVNNodeKind getUrlKind(SVNURL url, long revision) throws SVNException
getUrlKind
in interface SvnNgCommitUtil.ISvnUrlKindCallback
SVNException
private java.util.Collection<java.io.File> determineLockTargets(java.io.File baseDirectory, java.util.Collection<java.lang.String> targets) throws SVNException
SVNException
public java.lang.Object splitLockingContext(java.lang.Object lockingContext, SvnCommitPacket newPacket)
splitLockingContext
in interface ISvnCommitRunner
public void disposeCommitPacket(java.lang.Object lockingContext, boolean disposeParentContext) throws SVNException
disposeCommitPacket
in interface ISvnCommitRunner
SVNException
private void queueCommitted(SvnNgCommit.SvnCommittedQueue queue, java.io.File localAbsPath, boolean recurse, SVNProperties wcPropChanges, boolean unlockOnly, boolean removeLock, boolean removeChangelist, SvnChecksum sha1Checksum)
private void processCommittedQueue(SvnNgCommit.SvnCommittedQueue queue, long newRevision, java.util.Date revDate, java.lang.String revAuthor) throws SVNException
SVNException
private void processCommittedInternal(java.io.File localAbspath, boolean recurse, boolean topOfRecurse, long newRevision, SVNDate revDate, java.lang.String revAuthor, SVNProperties newDavCache, boolean unlockOnly, boolean noUnlock, boolean keepChangelist, SvnChecksum sha1Checksum, SvnNgCommit.SvnCommittedQueue queue) throws SVNException
SVNException
private void processCommittedLeaf(java.io.File localAbspath, boolean viaRecurse, long newRevnum, SVNDate newChangedDate, java.lang.String newChangedAuthor, SVNProperties newDavCache, boolean unlockOnly, boolean noUnlock, boolean keepChangelist, SvnChecksum checksum) throws SVNException
SVNException