public class SvnUpgrade extends SvnOperation<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 and Description |
---|---|
protected |
SvnUpgrade(SvnOperationFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy
|
addTarget, 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, setSqliteJournalMode
protected SvnUpgrade(SvnOperationFactory factory)
public boolean isChangesWorkingCopy()
isChangesWorkingCopy
in class SvnOperation<SvnWcGeneration>
true
if the operation changes the working copy, otherwise false
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.