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 ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller
NULLFields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longcheckout(SVNURL url, java.io.File localAbspath, SVNRevision pegRevision, SVNRevision revision, SVNDepth depth, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean sleepForTimestamp, int targetWorkingCopyFormat) protected longdoSwitch(java.io.File localAbsPath, SVNURL switchUrl, SVNRevision revision, SVNRevision pegRevision, SVNDepth depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnversionedObstructions, boolean ignoreAncestry, boolean sleepForTimestamp) private voidprivate voidhandleExternalItemChange(SVNURL rootUrl, java.io.File parentPath, SVNURL parentUrl, java.io.File localAbsPath, java.io.File oldDefiningPath, SVNExternal newItem) private voidhandleExternalItemRemoval(java.io.File definingAbsPath, java.io.File localAbsPath) protected voidhandleExternals(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 voidhandleExternalsChange(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 booleanisEmptyWc(java.io.File root, java.io.File anchorAbspath) private voidrelegateExternal(java.io.File localAbsPath, SVNURL url, SVNRevision revision, SVNRevision pegRevision, java.io.File definingPath, SVNFileType fileKind, int targetWorkingCopyFormat) private voidrelegateExternalDir(java.io.File wriAbsPath, java.io.File localAbsPath) private voidswitchDirExternal(java.io.File localAbsPath, SVNURL url, SVNRevision revision, SVNRevision pegRevision, java.io.File definingPath) private voidswitchFileExternal(java.io.File localAbsPath, SVNURL url, SVNRevision pegRevision, SVNRevision revision, java.io.File defDirAbspath, SVNRepository repository, long repositoryRevision, SVNURL reposRootUrl) protected longswitchInternal(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 longupdate(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 longupdateInternal(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, setRepositoryAccessMethods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnLocalOperationRunner
getFirstTarget, isApplicable, sleepForTimestampMethods inherited from class org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner
checkCancelled, getOperation, getWcContext, handleEvent, handleEvent, run, setOperation, setWcContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SvnNgAbstractUpdate
public SvnNgAbstractUpdate()
-
-
Method Details
-
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
- Throws:
SVNException
-
handleExternals
protected void handleExternals(java.util.Map<java.io.File, java.lang.String> newExternals, java.util.Map<java.io.File, throws SVNExceptionSVNDepth> ambientDepths, SVNURL anchorUrl, java.io.File targetAbspath, SVNURL reposRoot, SVNDepth requestedDepth, boolean sleepForTimestamp) - 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)
-