If the destination path (dstPath
) is null then the last component of url
is used for the local directory name.
As a revision SVNRevision's pre-defined constant fields can be used. For example, to check out a Working Copy at the latest revision of the repository use {@link SVNRevision#HEAD HEAD}.
@param url a repository location from where a Working Copy will be checked out
@param dstPath the local path where the Working Copy will be placed
@param pegRevision the revision at which url
will be firstly seenin the repository to make sure it's the one that is needed
@param revision the desired revision of the Working Copy to be checked out
@param recursive if true and url
isa directory then the entire tree will be checked out, otherwise if false - only items located immediately in the directory itself
@return the revision number of the Working Copy
@throws SVNException url
refers to a file, not a directory; dstPath
already exists but it is a file, not a directory; dstPath
already exists and is a versioned directory but has a different URL (repository location against which the directory is controlled)
@deprecated use {@link #doCheckout(SVNURL,File,SVNRevision,SVNRevision,SVNDepth,boolean)} instead
If the destination path (dstPath
) is null then the last component of url
is used for the local directory name.
As a revision SVNRevision's pre-defined constant fields can be used. For example, to check out a Working Copy at the latest revision of the repository use {@link SVNRevision#HEAD HEAD}.
@param url a repository location from where a Working Copy will be checked out
@param dstPath the local path where the Working Copy will be placed
@param pegRevision the revision at which url
will be firstly seenin the repository to make sure it's the one that is needed
@param revision the desired revision of the Working Copy to be checked out
@param recursive if true and url
isa directory then the entire tree will be checked out, otherwise if false - only items located immediately in the directory itself
@return the revision number of the Working Copy
@throws SVNException url
refers to a file, not a directory; dstPath
already exists but it is a file, not a directory; dstPath
already exists and is a versioned directory but has a different URL (repository location against which the directory is controlled)
@deprecated use {@link #doCheckout(SVNURL,File,SVNRevision,SVNRevision,SVNDepth,boolean)} instead
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|