As a revision SVNRevision's pre-defined constant fields can be used. For example, to update the Working Copy to the latest revision of the repository use {@link SVNRevision#HEAD HEAD}.
Calling this method is equivalent to doSwitch(file, url, SVNRevision.UNDEFINED, revision, recursive)
.
@param file the Working copy item to be switched
@param url the repository location as a target against which the item will be switched
@param revision the desired revision of the repository target
@param recursive if true and file
isa directory then the entire tree will be updated, otherwise if false - only items located immediately in the directory itself
@return the revision number to which file
was updated to
@throws SVNException
@deprecated use {@link #doSwitch(File,SVNURL,SVNRevision,SVNRevision,SVNDepth,boolean,boolean)} instead
As a revision SVNRevision's pre-defined constant fields can be used. For example, to update the Working Copy to the latest revision of the repository use {@link SVNRevision#HEAD HEAD}.
Calling this method is equivalent to doSwitch(file, url, SVNRevision.UNDEFINED, revision, recursive)
.
@param file the Working copy item to be switched
@param url the repository location as a target against which the item will be switched
@param revision the desired revision of the repository target
@param recursive if true and file
isa directory then the entire tree will be updated, otherwise if false - only items located immediately in the directory itself
@return the revision number to which file
was updated to
@throws SVNException
@deprecated use {@link #doSwitch(File,SVNURL,SVNRevision,SVNRevision,SVNDepth,boolean,boolean)} instead
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|