public class SVNCopyDriver extends SVNBasicDelegate
| Modifier and Type | Class and Description |
|---|---|
private static class |
SVNCopyDriver.CopyCommitPathHandler |
private static class |
SVNCopyDriver.CopyPair |
private static class |
SVNCopyDriver.CopyPathInfo |
SVNBasicDelegate.RepositoryReference, SVNBasicDelegate.SVNRepositoryLocation| Modifier and Type | Field and Description |
|---|---|
private boolean |
myIsDisableLocalModificationsCopying |
private SVNWCAccess |
myWCAccess |
UNKNOWNNULL| Modifier | Constructor and Description |
|---|---|
protected |
SVNCopyDriver(ISVNAuthenticationManager authManager,
ISVNOptions options) |
protected |
SVNCopyDriver(ISVNRepositoryPool repositoryPool,
ISVNOptions options) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addLocalParents(java.io.File path,
ISVNEventHandler handler) |
private java.util.Map |
calculateTargetMergeInfo(java.io.File srcFile,
SVNWCAccess access,
SVNURL srcURL,
long srcRevision,
SVNRepository repository,
boolean noReposAccess) |
private void |
close(SVNWCAccess access) |
private void |
copyAddedDirAdm(java.io.File src,
SVNWCAccess srcAccess,
java.io.File dstParent,
SVNWCAccess dstParentAccess,
java.lang.String dstName,
boolean isAdded) |
private void |
copyAddedFileAdm(java.io.File src,
SVNWCAccess srcAccess,
SVNWCAccess dstAccess,
java.io.File dstParent,
java.lang.String dstName,
boolean isAdded) |
private void |
copyDirAdm(java.io.File src,
SVNWCAccess srcAccess,
SVNWCAccess dstAccess,
java.io.File dstParent,
java.lang.String dstName) |
private void |
copyDisjointDir(java.io.File nestedWC,
SVNWCAccess parentAccess,
java.io.File nestedWCParent) |
protected void |
copyDisjointWCToWC(java.io.File nestedWC) |
private void |
copyFileAdm(java.io.File src,
SVNWCAccess srcAccess,
java.io.File dstParent,
SVNWCAccess dstAccess,
java.lang.String dstName,
boolean move) |
private void |
copyFiles(java.io.File src,
java.io.File dstParent,
SVNWCAccess dstAccess,
java.lang.String dstName,
boolean move) |
private void |
copyProps(java.io.File src,
java.io.File dst,
SVNWCAccess srcAccess,
SVNWCAccess dstAccess) |
private SVNCommitInfo |
copyReposToRepos(java.util.List copyPairs,
boolean makeParents,
boolean isMove,
boolean pinExternals,
java.util.Map<SvnTarget,java.util.List<SVNExternal>> externalsToPin,
java.lang.String message,
SVNProperties revprops,
ISVNCommitHandler commitHandler) |
private void |
copyReposToWC(java.util.List copyPairs,
boolean makeParents) |
private void |
copyReposToWC(SVNCopyDriver.CopyPair pair,
boolean sameRepositories,
SVNRepository topSrcRepos,
SVNWCAccess dstAccess) |
private SVNCommitInfo |
copyWCToRepos(java.util.List copyPairs,
boolean makeParents,
java.lang.String message,
SVNProperties revprops,
ISVNCommitHandler commitHandler,
ISVNCommitParameters commitParameters,
ISVNExternalsHandler externalsHandler) |
private void |
copyWCToWC(java.util.List pairs) |
private void |
copyWCToWC(java.util.List copyPairs,
boolean isMove,
boolean makeParents) |
private SVNLocationEntry |
determineCopyFromInfo(java.io.File src,
SVNWCAccess srcAccess,
SVNEntry srcEntry,
SVNEntry dstEntry) |
protected SVNCopySource[] |
expandCopySources(SVNCopySource[] sources) |
private void |
extendWCMergeInfo(java.io.File path,
SVNEntry entry,
java.util.Map mergeInfo,
SVNWCAccess access) |
private SVNLocationEntry |
getCopyFromInfoFromParent(java.io.File file,
SVNWCAccess access) |
private java.lang.String |
getUUIDFromPath(SVNWCAccess wcAccess,
java.io.File path) |
private SVNWCAccess |
getWCAccess() |
private void |
moveWCToWC(java.util.List pairs) |
private SVNAdminArea |
open(SVNWCAccess access,
java.io.File path,
boolean writeLock,
boolean stealLock,
int depth) |
private static void |
postCopyCleanup(SVNAdminArea dir) |
private SVNAdminArea |
probeOpen(SVNWCAccess access,
java.io.File path,
boolean writeLock,
int depth) |
private void |
queueExternalsChangePathInfos(java.util.List<SVNCopyDriver.CopyPathInfo> newPathInfos,
java.util.List<SVNCopyDriver.CopyPathInfo> pathInfos,
java.util.Map<java.lang.String,SVNPropertyValue> pinnedExternals,
SVNCopyDriver.CopyPathInfo parentInfo) |
void |
setDisableLocalModificationCopying(boolean disable) |
protected SVNCommitInfo |
setupCopy(SVNCopySource[] sources,
SVNPath dst,
boolean isMove,
boolean makeParents,
boolean pinExternals,
java.util.Map<SvnTarget,java.util.List<SVNExternal>> externalsToPin,
java.lang.String message,
SVNProperties revprops,
ISVNCommitHandler commitHandler,
ISVNCommitParameters commitParameters,
ISVNExternalsHandler externalsHandler) |
protected void |
setWCAccess(SVNWCAccess access) |
checkCancelled, createRepository, createRepository, createRepository, createWCAccess, createWCAccess, deriveLocation, dispatchEvent, dispatchEvent, elideMergeInfo, ensureSessionURL, getDebugLog, getEntryLocation, getEventDispatcher, getLevelsToLockFromDepth, getLocations, getOptions, getPathLastChangeRevision, getPathRelativeToRoot, getPathRelativeToSession, getRepositoryPool, getReposMergeInfo, getReposRoot, getRevisionNumber, getRevisionNumber, getURL, getWCMergeInfo, getWCOrRepositoryMergeInfo, handleEvent, handlePathListItem, isIgnoreExternals, isLeaveConflictsUnresolved, resolveRevisions, setCommitItemAccess, setCommitItemFlags, setCommitItemProperty, setDebugLog, setEventHandler, setEventPathPrefix, setIgnoreExternals, setLeaveConflictsUnresolved, setOptions, setPathListHandler, sleepForTimeStampprivate SVNWCAccess myWCAccess
private boolean myIsDisableLocalModificationsCopying
protected SVNCopyDriver(ISVNAuthenticationManager authManager, ISVNOptions options)
protected SVNCopyDriver(ISVNRepositoryPool repositoryPool, ISVNOptions options)
public void setDisableLocalModificationCopying(boolean disable)
protected void setWCAccess(SVNWCAccess access)
private SVNWCAccess getWCAccess()
private SVNAdminArea probeOpen(SVNWCAccess access, java.io.File path, boolean writeLock, int depth) throws SVNException
SVNExceptionprivate SVNAdminArea open(SVNWCAccess access, java.io.File path, boolean writeLock, boolean stealLock, int depth) throws SVNException
SVNExceptionprivate void close(SVNWCAccess access) throws SVNException
SVNExceptionprotected SVNCopySource[] expandCopySources(SVNCopySource[] sources) throws SVNException
SVNExceptionprivate SVNCommitInfo copyReposToRepos(java.util.List copyPairs, boolean makeParents, boolean isMove, boolean pinExternals, java.util.Map<SvnTarget,java.util.List<SVNExternal>> externalsToPin, java.lang.String message, SVNProperties revprops, ISVNCommitHandler commitHandler) throws SVNException
SVNExceptionprivate void queueExternalsChangePathInfos(java.util.List<SVNCopyDriver.CopyPathInfo> newPathInfos, java.util.List<SVNCopyDriver.CopyPathInfo> pathInfos, java.util.Map<java.lang.String,SVNPropertyValue> pinnedExternals, SVNCopyDriver.CopyPathInfo parentInfo) throws SVNException
SVNExceptionprivate java.lang.String getUUIDFromPath(SVNWCAccess wcAccess, java.io.File path) throws SVNException
SVNExceptionprivate static void postCopyCleanup(SVNAdminArea dir) throws SVNException
SVNExceptionprotected SVNCommitInfo setupCopy(SVNCopySource[] sources, SVNPath dst, boolean isMove, boolean makeParents, boolean pinExternals, java.util.Map<SvnTarget,java.util.List<SVNExternal>> externalsToPin, java.lang.String message, SVNProperties revprops, ISVNCommitHandler commitHandler, ISVNCommitParameters commitParameters, ISVNExternalsHandler externalsHandler) throws SVNException
SVNExceptionprivate SVNCommitInfo copyWCToRepos(java.util.List copyPairs, boolean makeParents, java.lang.String message, SVNProperties revprops, ISVNCommitHandler commitHandler, ISVNCommitParameters commitParameters, ISVNExternalsHandler externalsHandler) throws SVNException
SVNExceptionprivate void copyReposToWC(java.util.List copyPairs,
boolean makeParents)
throws SVNException
SVNExceptionprivate void copyReposToWC(SVNCopyDriver.CopyPair pair, boolean sameRepositories, SVNRepository topSrcRepos, SVNWCAccess dstAccess) throws SVNException
SVNExceptionprivate void copyWCToWC(java.util.List copyPairs,
boolean isMove,
boolean makeParents)
throws SVNException
SVNExceptionprotected void copyDisjointWCToWC(java.io.File nestedWC)
throws SVNException
SVNExceptionprivate void copyDisjointDir(java.io.File nestedWC,
SVNWCAccess parentAccess,
java.io.File nestedWCParent)
throws SVNException
SVNExceptionprivate void copyWCToWC(java.util.List pairs)
throws SVNException
SVNExceptionprivate void moveWCToWC(java.util.List pairs)
throws SVNException
SVNExceptionprivate void copyFiles(java.io.File src,
java.io.File dstParent,
SVNWCAccess dstAccess,
java.lang.String dstName,
boolean move)
throws SVNException
SVNExceptionprivate void copyFileAdm(java.io.File src,
SVNWCAccess srcAccess,
java.io.File dstParent,
SVNWCAccess dstAccess,
java.lang.String dstName,
boolean move)
throws SVNException
SVNExceptionprivate void copyAddedFileAdm(java.io.File src,
SVNWCAccess srcAccess,
SVNWCAccess dstAccess,
java.io.File dstParent,
java.lang.String dstName,
boolean isAdded)
throws SVNException
SVNExceptionprivate void copyDirAdm(java.io.File src,
SVNWCAccess srcAccess,
SVNWCAccess dstAccess,
java.io.File dstParent,
java.lang.String dstName)
throws SVNException
SVNExceptionprivate void copyAddedDirAdm(java.io.File src,
SVNWCAccess srcAccess,
java.io.File dstParent,
SVNWCAccess dstParentAccess,
java.lang.String dstName,
boolean isAdded)
throws SVNException
SVNExceptionprivate void copyProps(java.io.File src,
java.io.File dst,
SVNWCAccess srcAccess,
SVNWCAccess dstAccess)
throws SVNException
SVNExceptionprivate SVNLocationEntry determineCopyFromInfo(java.io.File src, SVNWCAccess srcAccess, SVNEntry srcEntry, SVNEntry dstEntry) throws SVNException
SVNExceptionprivate SVNLocationEntry getCopyFromInfoFromParent(java.io.File file, SVNWCAccess access) throws SVNException
SVNExceptionprivate void addLocalParents(java.io.File path,
ISVNEventHandler handler)
throws SVNException
SVNExceptionprivate void extendWCMergeInfo(java.io.File path,
SVNEntry entry,
java.util.Map mergeInfo,
SVNWCAccess access)
throws SVNException
SVNExceptionprivate java.util.Map calculateTargetMergeInfo(java.io.File srcFile,
SVNWCAccess access,
SVNURL srcURL,
long srcRevision,
SVNRepository repository,
boolean noReposAccess)
throws SVNException
SVNException