|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration> org.tmatesoft.svn.core.wc2.SvnUpgrade
public class SvnUpgrade
Represents operation for upgrading the metadata storage format for a working copy.
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
Constructor Summary | |
---|---|
protected |
SvnUpgrade(SvnOperationFactory factory)
|
Method Summary | |
---|---|
boolean |
isChangesWorkingCopy()
Gets whether the operation changes working copy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SvnUpgrade(SvnOperationFactory factory)
Method Detail |
---|
public boolean isChangesWorkingCopy()
isChangesWorkingCopy
in class SvnOperation<org.tmatesoft.svn.core.internal.wc2.SvnWcGeneration>
true
if the operation changes the working copy, otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |