ISvnOperationOptionsProviderpublic class SvnUpgrade extends SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration>
Target should represent working copy path to be upgraded.
SvnOperation.run() returns SvnWcGeneration of resulting working copy.
SvnOperation.run() throws SVNException if the following is true:
SVNErrorCode.ILLEGAL_TARGET error code
- if target is not a local path
SVNErrorCode.ENTRY_NOT_FOUND error code
- if target is not a versioned directory
SVNErrorCode.WC_INVALID_OP_ON_CWD error code
- if target is not a pre-1.7 working copy directory
SVNErrorCode.WC_INVALID_OP_ON_CWD error code
- if target is not a pre-1.7 working copy root
SVNErrorCode.WC_UNSUPPORTED_FORMAT error code
- if a target doesn't have a repository URL
SVNErrorCode.WC_CORRUPT error code
- if a working copy is corrupt
| Modifier | Constructor | Description |
|---|---|---|
protected |
SvnUpgrade(SvnOperationFactory factory) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getTargetWorkingCopyFormat() |
|
boolean |
isChangesWorkingCopy() |
Gets whether the operation changes working copy
|
void |
setTargetWorkingCopyFormat(int targetWorkingCopyFormat) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, initDefaults, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalModeprotected SvnUpgrade(SvnOperationFactory factory)
public boolean isChangesWorkingCopy()
isChangesWorkingCopy in class SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration>true if the operation changes the working copy, otherwise falsepublic void setTargetWorkingCopyFormat(int targetWorkingCopyFormat)
public int getTargetWorkingCopyFormat()