Class SvnNgAbstractUpdate<V,T extends AbstractSvnUpdate<V>>
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner<V,T>
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate<V,T>
-
- All Implemented Interfaces:
ISVNCanceller
,ISVNEventHandler
,ISvnOperationRunner<V,T>
- Direct Known Subclasses:
SvnNgCheckout
,SvnNgSwitch
,SvnNgUpdate
public abstract class SvnNgAbstractUpdate<V,T extends AbstractSvnUpdate<V>> extends SvnNgOperationRunner<V,T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SvnNgAbstractUpdate.RecordConflictsResolver
-
Field Summary
-
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULL
-
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description SvnNgAbstractUpdate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
checkout(SVNURL url, java.io.File localAbspath, SVNRevision pegRevision, SVNRevision revision, SVNDepth depth, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean sleepForTimestamp, int targetWorkingCopyFormat)
protected long
doSwitch(java.io.File localAbsPath, SVNURL switchUrl, SVNRevision revision, SVNRevision pegRevision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean ignoreAncestry, boolean sleepForTimestamp)
private void
ensureNodesMovedToIndex(SVNSqlJetDb sDb)
private void
handleExternalItemChange(SVNURL rootUrl, java.io.File parentPath, SVNURL parentUrl, java.io.File localAbsPath, java.io.File oldDefiningPath, SVNExternal newItem)
private void
handleExternalItemRemoval(java.io.File definingAbsPath, java.io.File localAbsPath)
protected void
handleExternals(java.util.Map<java.io.File,java.lang.String> newExternals, java.util.Map<java.io.File,SVNDepth> ambientDepths, SVNURL anchorUrl, java.io.File targetAbspath, SVNURL reposRoot, SVNDepth requestedDepth, boolean sleepForTimestamp)
private void
handleExternalsChange(SVNURL reposRoot, java.io.File externalPath, java.lang.String externalDefinition, java.util.Map<java.io.File,java.io.File> oldExternals, SVNDepth ambientDepth, SVNDepth requestedDepth)
protected static boolean
isEmptyWc(java.io.File root, java.io.File anchorAbspath)
private void
relegateExternal(java.io.File localAbsPath, SVNURL url, SVNRevision revision, SVNRevision pegRevision, java.io.File definingPath, SVNFileType fileKind, int targetWorkingCopyFormat)
private void
relegateExternalDir(java.io.File wriAbsPath, java.io.File localAbsPath)
private void
switchDirExternal(java.io.File localAbsPath, SVNURL url, SVNRevision revision, SVNRevision pegRevision, java.io.File definingPath)
private void
switchFileExternal(java.io.File localAbsPath, SVNURL url, SVNRevision pegRevision, SVNRevision revision, java.io.File defDirAbspath, SVNRepository repository, long repositoryRevision, SVNURL reposRootUrl)
protected long
switchInternal(java.io.File localAbsPath, java.io.File anchor, SVNURL switchUrl, SVNRevision revision, SVNRevision pegRevision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean ignoreAncestry, boolean sleepForTimestamp)
protected long
update(SVNWCContext wcContext, java.io.File localAbspath, SVNRevision revision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean addsAsMoodifications, boolean makeParents, boolean innerUpdate, boolean sleepForTimestamp)
protected long
updateInternal(SVNWCContext wcContext, java.io.File localAbspath, java.io.File anchorAbspath, SVNRevision revision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean addsAsMoodifications, boolean sleepForTimestamp, boolean notifySummary, ISVNConflictHandler conflictHandler)
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner
deleteDeleteFiles, getRepositoryAccess, getWcGeneration, matchesChangelist, reset, run, run, setRepositoryAccess
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, isApplicable, sleepForTimestamp
-
Methods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContext
-
-
-
-
Method Detail
-
update
protected long update(SVNWCContext wcContext, java.io.File localAbspath, SVNRevision revision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean addsAsMoodifications, boolean makeParents, boolean innerUpdate, boolean sleepForTimestamp) throws SVNException
- Throws:
SVNException
-
updateInternal
protected long updateInternal(SVNWCContext wcContext, java.io.File localAbspath, java.io.File anchorAbspath, SVNRevision revision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean addsAsMoodifications, boolean sleepForTimestamp, boolean notifySummary, ISVNConflictHandler conflictHandler) throws SVNException
- Throws:
SVNException
-
ensureNodesMovedToIndex
private void ensureNodesMovedToIndex(SVNSqlJetDb sDb) throws SVNException
- Throws:
SVNException
-
handleExternals
protected void handleExternals(java.util.Map<java.io.File,java.lang.String> newExternals, java.util.Map<java.io.File,SVNDepth> ambientDepths, SVNURL anchorUrl, java.io.File targetAbspath, SVNURL reposRoot, SVNDepth requestedDepth, boolean sleepForTimestamp) throws SVNException
- Throws:
SVNException
-
handleExternalItemRemoval
private void handleExternalItemRemoval(java.io.File definingAbsPath, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
handleExternalsChange
private void handleExternalsChange(SVNURL reposRoot, java.io.File externalPath, java.lang.String externalDefinition, java.util.Map<java.io.File,java.io.File> oldExternals, SVNDepth ambientDepth, SVNDepth requestedDepth) throws SVNException
- Throws:
SVNException
-
handleExternalItemChange
private void handleExternalItemChange(SVNURL rootUrl, java.io.File parentPath, SVNURL parentUrl, java.io.File localAbsPath, java.io.File oldDefiningPath, SVNExternal newItem) throws SVNException
- Throws:
SVNException
-
switchDirExternal
private void switchDirExternal(java.io.File localAbsPath, SVNURL url, SVNRevision revision, SVNRevision pegRevision, java.io.File definingPath) throws SVNException
- Throws:
SVNException
-
relegateExternal
private void relegateExternal(java.io.File localAbsPath, SVNURL url, SVNRevision revision, SVNRevision pegRevision, java.io.File definingPath, SVNFileType fileKind, int targetWorkingCopyFormat) throws SVNException
- Throws:
SVNException
-
relegateExternalDir
private void relegateExternalDir(java.io.File wriAbsPath, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
switchFileExternal
private void switchFileExternal(java.io.File localAbsPath, SVNURL url, SVNRevision pegRevision, SVNRevision revision, java.io.File defDirAbspath, SVNRepository repository, long repositoryRevision, SVNURL reposRootUrl) throws SVNException
- Throws:
SVNException
-
doSwitch
protected long doSwitch(java.io.File localAbsPath, SVNURL switchUrl, SVNRevision revision, SVNRevision pegRevision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean ignoreAncestry, boolean sleepForTimestamp) throws SVNException
- Throws:
SVNException
-
switchInternal
protected long switchInternal(java.io.File localAbsPath, java.io.File anchor, SVNURL switchUrl, SVNRevision revision, SVNRevision pegRevision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean ignoreAncestry, boolean sleepForTimestamp) throws SVNException
- Throws:
SVNException
-
checkout
protected long checkout(SVNURL url, java.io.File localAbspath, SVNRevision pegRevision, SVNRevision revision, SVNDepth depth, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean sleepForTimestamp, int targetWorkingCopyFormat) throws SVNException
- Throws:
SVNException
-
isEmptyWc
protected static boolean isEmptyWc(java.io.File root, java.io.File anchorAbspath)
-
-