public interface ISVNClientAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
DEFAULT_LOG_PROPERTIES |
static java.lang.String |
REPOSITORY_FSTYPE_BDB
constant identifying the "bdb" repository type
|
static java.lang.String |
REPOSITORY_FSTYPE_FSFS
constant identifying the "fsfs" repository type
|
Modifier and Type | Method and Description |
---|---|
void |
addConflictResolutionCallback(ISVNConflictResolver callback)
Add a callback for resolving conflicts during up/sw/merge
|
void |
addDirectory(java.io.File dir,
boolean recurse)
Adds a directory to the repository.
|
void |
addDirectory(java.io.File dir,
boolean recurse,
boolean force)
Adds a directory to the repository.
|
void |
addFile(java.io.File file)
Adds a file (or directory) to the repository.
|
SVNKeywords |
addKeywords(java.io.File path,
SVNKeywords keywords)
add some keyword to the keywords substitution list
|
void |
addNotifyListener(ISVNNotifyListener listener)
Add a notification listener
|
void |
addPasswordCallback(ISVNPromptUserPassword callback)
Add a callback for prompting for username, password SSL etc...
|
void |
addToIgnoredPatterns(java.io.File path,
java.lang.String pattern)
add a pattern to svn:ignore property
|
ISVNAnnotations |
annotate(java.io.File file,
SVNRevision revisionStart,
SVNRevision revisionEnd)
Output the content of specified file with revision and
author information in-line.
|
ISVNAnnotations |
annotate(java.io.File file,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean ignoreMimeType,
boolean includeMergedRevisions)
Output the content of specified file with revision and
author information in-line.
|
ISVNAnnotations |
annotate(java.io.File file,
SVNRevision revisionStart,
SVNRevision revisionEnd,
SVNRevision pegRevision,
boolean ignoreMimeType,
boolean includeMergedRevisions)
Output the content of specified file with revision and
author information in-line.
|
ISVNAnnotations |
annotate(SVNUrl url,
SVNRevision revisionStart,
SVNRevision revisionEnd)
Output the content of specified url with revision and
author information in-line.
|
ISVNAnnotations |
annotate(SVNUrl url,
SVNRevision revisionStart,
SVNRevision revisionEnd,
SVNRevision pegRevision,
boolean ignoreMimeType,
boolean includeMergedRevisions)
Output the content of specified url with revision and
author information in-line.
|
void |
cancelOperation()
Cancel the current operation
|
boolean |
canCommitAcrossWC()
Indicates whether the commitAcrossWC method is
supported in the adapter
|
void |
checkout(SVNUrl moduleName,
java.io.File destPath,
SVNRevision revision,
boolean recurse)
Executes a revision checkout.
|
void |
checkout(SVNUrl moduleName,
java.io.File destPath,
SVNRevision revision,
int depth,
boolean ignoreExternals,
boolean force)
Executes a revision checkout.
|
void |
cleanup(java.io.File dir)
Perform a clanup on the working copy.
|
long |
commit(java.io.File[] paths,
java.lang.String message,
boolean recurse)
Commits changes to the repository.
|
long |
commit(java.io.File[] paths,
java.lang.String message,
boolean recurse,
boolean keepLocks)
Commits changes to the repository.
|
long[] |
commitAcrossWC(java.io.File[] paths,
java.lang.String message,
boolean recurse,
boolean keepLocks,
boolean atomic)
Commits changes to the repository.
|
void |
copy(java.io.File[] srcPaths,
SVNUrl destUrl,
java.lang.String message,
boolean copyAsChild,
boolean makeParents)
immediately commit a copy of WC to URL
|
void |
copy(java.io.File srcPath,
java.io.File destPath)
copy and schedule for addition (with history)
|
void |
copy(java.io.File srcPath,
SVNUrl destUrl,
java.lang.String message)
immediately commit a copy of WC to URL
|
void |
copy(SVNUrl[] srcUrls,
SVNUrl destUrl,
java.lang.String message,
SVNRevision revision,
boolean copyAsChild,
boolean makeParents)
complete server-side copy with option to create intermediate folders; used to branch & tag
|
void |
copy(SVNUrl srcUrl,
java.io.File destPath,
SVNRevision revision)
check out URL into WC, schedule for addition
|
void |
copy(SVNUrl srcUrl,
java.io.File destPath,
SVNRevision revision,
boolean copyAsChild,
boolean makeParents)
check out URL into WC, schedule for addition
|
void |
copy(SVNUrl srcUrl,
java.io.File destPath,
SVNRevision revision,
SVNRevision pegRevision,
boolean copyAsChild,
boolean makeParents)
check out URL into WC, schedule for addition
|
void |
copy(SVNUrl srcUrl,
SVNUrl destUrl,
java.lang.String message,
SVNRevision revision)
complete server-side copy; used to branch & tag
|
void |
copy(SVNUrl srcUrl,
SVNUrl destUrl,
java.lang.String message,
SVNRevision revision,
boolean makeParents)
complete server-side copy with option to create intermediate folders; used to branch & tag
|
void |
createPatch(java.io.File[] paths,
java.io.File relativeToPath,
java.io.File outFile,
boolean recurse)
create a patch from local differences.
|
void |
createRepository(java.io.File path,
java.lang.String repositoryType)
Create a new, empty repository at path
|
void |
diff(java.io.File[] paths,
java.io.File outFile,
boolean recurse)
display the combined differences for an array of paths.
|
void |
diff(java.io.File path,
java.io.File outFile,
boolean recurse)
display the differences between two paths.
|
void |
diff(java.io.File oldPath,
SVNRevision oldPathRevision,
java.io.File newPath,
SVNRevision newPathRevision,
java.io.File outFile,
boolean recurse)
display the differences between two paths.
|
void |
diff(java.io.File oldPath,
SVNRevision oldPathRevision,
java.io.File newPath,
SVNRevision newPathRevision,
java.io.File outFile,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
display the differences between two paths.
|
void |
diff(java.io.File path,
SVNUrl url,
SVNRevision urlRevision,
java.io.File outFile,
boolean recurse)
display the differences between WC and url.
|
void |
diff(SVNUrl url,
SVNRevision oldUrlRevision,
SVNRevision newUrlRevision,
java.io.File outFile,
boolean recurse)
display the differences between two urls.
|
void |
diff(SVNUrl target,
SVNRevision pegRevision,
SVNRevision startRevision,
SVNRevision endRevision,
java.io.File outFile,
boolean recurse)
Display the differences between two paths.
|
void |
diff(SVNUrl target,
SVNRevision pegRevision,
SVNRevision startRevision,
SVNRevision endRevision,
java.io.File outFile,
int depth,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Display the differences between two paths.
|
void |
diff(SVNUrl oldUrl,
SVNRevision oldUrlRevision,
SVNUrl newUrl,
SVNRevision newUrlRevision,
java.io.File outFile,
boolean recurse)
display the differences between two urls.
|
void |
diff(SVNUrl oldUrl,
SVNRevision oldUrlRevision,
SVNUrl newUrl,
SVNRevision newUrlRevision,
java.io.File outFile,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
display the differences between two urls.
|
SVNDiffSummary[] |
diffSummarize(java.io.File path,
SVNUrl toUrl,
SVNRevision toRevision,
boolean recurse) |
SVNDiffSummary[] |
diffSummarize(SVNUrl target,
SVNRevision pegRevision,
SVNRevision startRevision,
SVNRevision endRevision,
int depth,
boolean ignoreAncestry)
Produce a diff summary which lists the items changed between
path and revision pairs.
|
SVNDiffSummary[] |
diffSummarize(SVNUrl target1,
SVNRevision revision1,
SVNUrl target2,
SVNRevision revision2,
int depth,
boolean ignoreAncestry)
Produce a diff summary which lists the items changed between
path and revision pairs.
|
void |
dispose()
release the native peer (should not depend on finalize)
|
void |
doExport(java.io.File srcPath,
java.io.File destPath,
boolean force)
Exports a clean directory tree from the working copy specified by
PATH1 into PATH2.
|
void |
doExport(SVNUrl srcUrl,
java.io.File destPath,
SVNRevision revision,
boolean force)
Exports a clean directory tree from the repository specified by
srcUrl, at revision revision
|
void |
doImport(java.io.File path,
SVNUrl url,
java.lang.String message,
boolean recurse)
Import file or directory PATH into repository directory URL at head
|
java.lang.String |
getAdminDirectoryName()
Returns the name of the Subversion administrative
working copy directory.
|
java.io.InputStream |
getContent(java.io.File path,
SVNRevision revision)
get the content of a file
|
java.io.InputStream |
getContent(SVNUrl url,
SVNRevision revision)
get the content of a file
|
java.io.InputStream |
getContent(SVNUrl url,
SVNRevision revision,
SVNRevision pegRevision)
get the content of a file
|
ISVNDirEntry |
getDirEntry(java.io.File path,
SVNRevision revision)
get the dirEntry for the given directory
|
ISVNDirEntry |
getDirEntry(SVNUrl url,
SVNRevision revision)
get the dirEntry for the given url
|
java.util.List |
getIgnoredPatterns(java.io.File path)
get the ignored patterns for the given directory
if path is not a directory, returns null
|
ISVNInfo |
getInfo(java.io.File file)
Get information about a file or directory.
|
ISVNInfo[] |
getInfo(java.io.File file,
boolean descend)
Get information about a file or directory.
|
ISVNInfo |
getInfo(SVNUrl url)
Get information about an URL.
|
ISVNInfo |
getInfo(SVNUrl url,
SVNRevision revision,
SVNRevision peg)
Get information about an URL.
|
ISVNInfo |
getInfoFromWorkingCopy(java.io.File file)
Get information about a file or directory from working copy.
|
SVNKeywords |
getKeywords(java.io.File path)
returns the keywords used for substitution for the given resource
|
ISVNDirEntry[] |
getList(java.io.File path,
SVNRevision revision,
boolean recurse)
List directory entries of a directory
|
ISVNDirEntry[] |
getList(java.io.File path,
SVNRevision revision,
SVNRevision pegRevision,
boolean recurse)
List directory entries of a directory
|
ISVNDirEntry[] |
getList(SVNUrl url,
SVNRevision revision,
boolean recurse)
List directory entries of a URL
|
ISVNDirEntry[] |
getList(SVNUrl url,
SVNRevision revision,
SVNRevision pegRevision,
boolean recurse)
List directory entries of a URL
|
ISVNDirEntryWithLock[] |
getListWithLocks(SVNUrl url,
SVNRevision revision,
SVNRevision pegRevision,
boolean recurse)
List directory entries of a URL with lock information
|
ISVNLogMessage[] |
getLogMessages(java.io.File path,
SVNRevision revisionStart,
SVNRevision revisionEnd)
Get the log messages for a set of revision(s)
|
ISVNLogMessage[] |
getLogMessages(java.io.File path,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean fetchChangePath)
Get the log messages for a set of revision(s)
|
ISVNLogMessage[] |
getLogMessages(java.io.File path,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath)
Retrieve the log messages for an item
|
ISVNLogMessage[] |
getLogMessages(java.io.File path,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath,
long limit)
Retrieve the log messages for an item
|
ISVNLogMessage[] |
getLogMessages(java.io.File path,
SVNRevision pegRevision,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath,
long limit,
boolean includeMergedRevisions)
Retrieve the log messages for an item
|
void |
getLogMessages(java.io.File path,
SVNRevision pegRevision,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath,
long limit,
boolean includeMergedRevisions,
java.lang.String[] requestedProperties,
ISVNLogMessageCallback callback)
Retrieve the log messages for an item
|
ISVNLogMessage[] |
getLogMessages(SVNUrl url,
java.lang.String[] paths,
SVNRevision revStart,
SVNRevision revEnd,
boolean stopOnCopy,
boolean fetchChangePath)
Get the log messages for a set paths and revision(s)
|
ISVNLogMessage[] |
getLogMessages(SVNUrl url,
SVNRevision revisionStart,
SVNRevision revisionEnd)
Get the log messages for a set of revision(s)
|
ISVNLogMessage[] |
getLogMessages(SVNUrl url,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean fetchChangePath)
Get the log messages for a set of revision(s)
|
ISVNLogMessage[] |
getLogMessages(SVNUrl url,
SVNRevision pegRevision,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath,
long limit)
Retrieve the log messages for an item
|
ISVNLogMessage[] |
getLogMessages(SVNUrl url,
SVNRevision pegRevision,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath,
long limit,
boolean includeMergedRevisions)
Retrieve the log messages for an item
|
void |
getLogMessages(SVNUrl url,
SVNRevision pegRevision,
SVNRevision revisionStart,
SVNRevision revisionEnd,
boolean stopOnCopy,
boolean fetchChangePath,
long limit,
boolean includeMergedRevisions,
java.lang.String[] requestedProperties,
ISVNLogMessageCallback callback)
Retrieve the log messages for an item
|
ISVNMergeInfo |
getMergeInfo(java.io.File path,
SVNRevision revision)
Get merge info for
path at revision . |
ISVNMergeInfo |
getMergeInfo(SVNUrl url,
SVNRevision revision)
Get merge info for
url at revision . |
ISVNLogMessage[] |
getMergeinfoLog(int kind,
java.io.File path,
SVNRevision pegRevision,
SVNUrl mergeSourceUrl,
SVNRevision srcPegRevision,
boolean discoverChangedPaths)
Retrieve either merged or eligible-to-be-merged revisions.
|
ISVNLogMessage[] |
getMergeinfoLog(int kind,
SVNUrl url,
SVNRevision pegRevision,
SVNUrl mergeSourceUrl,
SVNRevision srcPegRevision,
boolean discoverChangedPaths)
Retrieve either merged or eligible-to-be-merged revisions.
|
SVNNotificationHandler |
getNotificationHandler() |
java.lang.String |
getPostCommitError() |
ISVNProperty[] |
getProperties(java.io.File path)
Get all the properties for the given file or dir
|
ISVNProperty[] |
getProperties(java.io.File path,
boolean descend)
Get all the properties for the given file or dir
|
ISVNProperty[] |
getProperties(SVNUrl url)
Get all the properties for the given url
|
ISVNProperty[] |
getProperties(SVNUrl url,
SVNRevision revision,
SVNRevision peg)
Get all the properties for the given url
|
ISVNProperty[] |
getProperties(SVNUrl url,
SVNRevision revision,
SVNRevision peg,
boolean recurse)
Get all the properties for the given url
|
ISVNProperty[] |
getRevProperties(SVNUrl url,
SVNRevision.Number revision)
Get all the revision properties for the given url at a revision
|
java.lang.String |
getRevProperty(SVNUrl path,
SVNRevision.Number revisionNo,
java.lang.String propName)
get a revision property for a given revision
|
ISVNStatus |
getSingleStatus(java.io.File path)
Returns the status of a single file in the path.
|
ISVNStatus[] |
getStatus(java.io.File[] path)
Returns the status of given resources
|
ISVNStatus[] |
getStatus(java.io.File path,
boolean descend,
boolean getAll)
Returns the status of path and its children.
|
ISVNStatus[] |
getStatus(java.io.File path,
boolean descend,
boolean getAll,
boolean contactServer)
Returns the status of path and its children.
|
ISVNStatus[] |
getStatus(java.io.File path,
boolean descend,
boolean getAll,
boolean contactServer,
boolean ignoreExternals)
Returns the status of path and its children.
|
ISVNStatus[] |
getStatus(java.io.File path,
boolean descend,
boolean getAll,
boolean contactServer,
boolean ignoreExternals,
ISVNStatusCallback callback)
Returns the status of path and its children.
|
boolean |
isAdminDirectory(java.lang.String name)
Returns whether the passed folder name is a Subversion
administrative working copy directory.
|
boolean |
isThreadsafe()
Returns whether the client adapter implementation is threadsafe
|
void |
lock(java.io.File[] paths,
java.lang.String comment,
boolean force)
Lock a working copy item
|
void |
lock(SVNUrl[] paths,
java.lang.String comment,
boolean force)
Lock a working copy item
|
void |
merge(SVNUrl url,
SVNRevision pegRevision,
SVNRevisionRange[] revisions,
java.io.File localPath,
boolean force,
int depth,
boolean ignoreAncestry,
boolean dryRun,
boolean recordOnly)
Merge set of revisions into a new local path.
|
void |
merge(SVNUrl path1,
SVNRevision revision1,
SVNUrl path2,
SVNRevision revision2,
java.io.File localPath,
boolean force,
boolean recurse)
Merge changes from two paths into a new local path.
|
void |
merge(SVNUrl path1,
SVNRevision revision1,
SVNUrl path2,
SVNRevision revision2,
java.io.File localPath,
boolean force,
boolean recurse,
boolean dryRun)
Merge changes from two paths into a new local path.
|
void |
merge(SVNUrl path1,
SVNRevision revision1,
SVNUrl path2,
SVNRevision revision2,
java.io.File localPath,
boolean force,
boolean recurse,
boolean dryRun,
boolean ignoreAncestry)
Merge changes from two paths into a new local path.
|
void |
merge(SVNUrl path1,
SVNRevision revision1,
SVNUrl path2,
SVNRevision revision2,
java.io.File localPath,
boolean force,
int depth,
boolean dryRun,
boolean ignoreAncestry,
boolean recordOnly)
Merge changes from two paths into a new local path.
|
void |
mergeReintegrate(SVNUrl path,
SVNRevision pegRevision,
java.io.File localPath,
boolean force,
boolean dryRun)
Perform a reintegration merge of path into localPath.
|
void |
mkdir(java.io.File file)
creates a directory on disk and schedules it for addition.
|
void |
mkdir(SVNUrl url,
boolean makeParents,
java.lang.String message)
Creates a directory directly in a repository
|
void |
mkdir(SVNUrl url,
java.lang.String message)
Creates a directory directly in a repository
|
void |
move(java.io.File srcPath,
java.io.File destPath,
boolean force)
Moves or renames a file.
|
void |
move(SVNUrl srcUrl,
SVNUrl destUrl,
java.lang.String message,
SVNRevision revision)
Moves or renames a file.
|
void |
propertyDel(java.io.File path,
java.lang.String propertyName,
boolean recurse)
delete a property
|
ISVNProperty |
propertyGet(java.io.File path,
java.lang.String propertyName)
get a property or null if property is not found
|
ISVNProperty |
propertyGet(SVNUrl url,
java.lang.String propertyName)
get a property or null if property is not found
|
ISVNProperty |
propertyGet(SVNUrl url,
SVNRevision revision,
SVNRevision peg,
java.lang.String propertyName)
get a property or null if property is not found
|
void |
propertySet(java.io.File path,
java.lang.String propertyName,
java.io.File propertyFile,
boolean recurse)
set a property using the content of a file
|
void |
propertySet(java.io.File path,
java.lang.String propertyName,
java.lang.String propertyValue,
boolean recurse)
set a property
|
void |
propertySet(SVNUrl url,
SVNRevision.Number baseRev,
java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String message)
set a property
|
void |
relocate(java.lang.String from,
java.lang.String to,
java.lang.String path,
boolean recurse)
Rewrite the url's in the working copy
|
void |
remove(java.io.File[] file,
boolean force)
the item is scheduled for deletion upon the next commit.
|
void |
remove(SVNUrl[] url,
java.lang.String message)
item is deleted from the repository via an immediate commit.
|
SVNKeywords |
removeKeywords(java.io.File path,
SVNKeywords keywords)
remove some keywords to the keywords substitution list
|
void |
removeNotifyListener(ISVNNotifyListener listener)
Remove a notification listener
|
void |
resolve(java.io.File path,
int result)
Remove 'conflicted' state on working copy files or directories
|
void |
resolved(java.io.File path)
Remove 'conflicted' state on working copy files or directories
|
void |
revert(java.io.File path,
boolean recurse)
Restore pristine working copy file (undo all local edits)
|
void |
setConfigDirectory(java.io.File dir)
Set the configuration directory.
|
void |
setIgnoredPatterns(java.io.File path,
java.util.List patterns)
set the ignored patterns for the given directory
|
void |
setKeywords(java.io.File path,
SVNKeywords keywords,
boolean recurse)
set the keywords substitution for the given resource
|
void |
setPassword(java.lang.String password)
Sets the password.
|
void |
setProgressListener(ISVNProgressListener progressListener)
Set a progress listener
|
void |
setRevProperty(SVNUrl path,
SVNRevision.Number revisionNo,
java.lang.String propName,
java.lang.String propertyData,
boolean force)
set the revision property for a given revision
|
void |
setUsername(java.lang.String username)
Sets the username.
|
boolean |
statusReturnsRemoteInfo()
Indicates whether a status call that contacts the
server includes the remote info in the status object
|
java.lang.String[] |
suggestMergeSources(java.io.File path)
Return an ordered list of suggested merge source URLs.
|
java.lang.String[] |
suggestMergeSources(SVNUrl url,
SVNRevision peg)
Return an ordered list of suggested merge source URLs.
|
void |
switchToUrl(java.io.File path,
SVNUrl url,
SVNRevision revision,
boolean recurse)
Update the working copy to mirror a new URL within the repository.
|
void |
switchToUrl(java.io.File path,
SVNUrl url,
SVNRevision revision,
int depth,
boolean setDepth,
boolean ignoreExternals,
boolean force)
Update the working copy to mirror a new URL within the repository.
|
void |
switchToUrl(java.io.File path,
SVNUrl url,
SVNRevision revision,
SVNRevision pegRevision,
int depth,
boolean setDepth,
boolean ignoreExternals,
boolean force)
Update the working copy to mirror a new URL within the repository.
|
void |
switchToUrl(java.io.File path,
SVNUrl url,
SVNRevision revision,
SVNRevision pegRevision,
int depth,
boolean setDepth,
boolean ignoreExternals,
boolean force,
boolean ignoreAncestry)
Update the working copy to mirror a new URL within the repository.
|
void |
unlock(java.io.File[] paths,
boolean force)
Unlock a working copy item
|
void |
unlock(SVNUrl[] paths,
boolean force)
Unlock a working copy item
|
long[] |
update(java.io.File[] path,
SVNRevision revision,
boolean recurse,
boolean ignoreExternals)
Updates the directories or files from repository
|
long[] |
update(java.io.File[] path,
SVNRevision revision,
int depth,
boolean setDepth,
boolean ignoreExternals,
boolean force)
Updates the directories or files from repository
|
long |
update(java.io.File path,
SVNRevision revision,
boolean recurse)
Update a file or a directory
|
long |
update(java.io.File path,
SVNRevision revision,
int depth,
boolean setDepth,
boolean ignoreExternals,
boolean force)
Update a file or a directory
|
void |
upgrade(java.io.File dir)
Recursively upgrade a working copy to a new metadata storage format.
|
static final java.lang.String REPOSITORY_FSTYPE_BDB
static final java.lang.String REPOSITORY_FSTYPE_FSFS
static final java.lang.String[] DEFAULT_LOG_PROPERTIES
boolean isThreadsafe()
void addNotifyListener(ISVNNotifyListener listener)
listener
- void removeNotifyListener(ISVNNotifyListener listener)
listener
- SVNNotificationHandler getNotificationHandler()
void setUsername(java.lang.String username)
username
- void setPassword(java.lang.String password)
password
- void addPasswordCallback(ISVNPromptUserPassword callback)
callback
- void addConflictResolutionCallback(ISVNConflictResolver callback)
callback
- void setProgressListener(ISVNProgressListener progressListener)
progressListener
- void addFile(java.io.File file) throws SVNClientException
file
- SVNClientException
void addDirectory(java.io.File dir, boolean recurse) throws SVNClientException
dir
- recurse
- SVNClientException
void addDirectory(java.io.File dir, boolean recurse, boolean force) throws SVNClientException
dir
- recurse
- force
- SVNClientException
void checkout(SVNUrl moduleName, java.io.File destPath, SVNRevision revision, boolean recurse) throws SVNClientException
moduleName
- name of the module to checkout.destPath
- destination directory for checkout.revision
- the revision number to checkout. If the number is -1
then it will checkout the latest revision.recurse
- whether you want it to checkout files recursively.SVNClientException
void checkout(SVNUrl moduleName, java.io.File destPath, SVNRevision revision, int depth, boolean ignoreExternals, boolean force) throws SVNClientException
moduleName
- name of the module to checkout.destPath
- destination directory for checkout.revision
- the revision number to checkout. If the number is -1
then it will checkout the latest revision.depth
- how deep to checkout files recursively.ignoreExternals
- if externals are ignored during checkout.force
- allow unversioned paths that obstruct adds.SVNClientException
long commit(java.io.File[] paths, java.lang.String message, boolean recurse) throws SVNClientException
paths
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.SVNClientException
long commit(java.io.File[] paths, java.lang.String message, boolean recurse, boolean keepLocks) throws SVNClientException
paths
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.keepLocks
- SVNClientException
long[] commitAcrossWC(java.io.File[] paths, java.lang.String message, boolean recurse, boolean keepLocks, boolean atomic) throws SVNClientException
paths
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.keepLocks
- whether to keep locks on files that are committed.atomic
- whether to attempt to perform the commit from multiple
working copies atomically. Files from the same repository will be
processed with one commit operation. If files span multiple repositories
they will be processed in multiple commits.
When atomic is false, you will get one commit per WC.SVNClientException
java.lang.String getPostCommitError()
ISVNDirEntry[] getList(SVNUrl url, SVNRevision revision, boolean recurse) throws SVNClientException
url
- revision
- recurse
- SVNClientException
ISVNDirEntry[] getList(SVNUrl url, SVNRevision revision, SVNRevision pegRevision, boolean recurse) throws SVNClientException
url
- revision
- pegRevision
- recurse
- SVNClientException
ISVNDirEntryWithLock[] getListWithLocks(SVNUrl url, SVNRevision revision, SVNRevision pegRevision, boolean recurse) throws SVNClientException
url
- revision
- pegRevision
- recurse
- SVNClientException
ISVNDirEntry[] getList(java.io.File path, SVNRevision revision, boolean recurse) throws SVNClientException
path
- revision
- recurse
- SVNClientException
ISVNDirEntry[] getList(java.io.File path, SVNRevision revision, SVNRevision pegRevision, boolean recurse) throws SVNClientException
path
- revision
- pegRevision
- recurse
- SVNClientException
ISVNDirEntry getDirEntry(SVNUrl url, SVNRevision revision) throws SVNClientException
url
- revision
- SVNClientException
ISVNDirEntry getDirEntry(java.io.File path, SVNRevision revision) throws SVNClientException
path
- revision
- SVNClientException
ISVNStatus getSingleStatus(java.io.File path) throws SVNClientException
path
- File to gather status.SVNClientException
ISVNStatus[] getStatus(java.io.File[] path) throws SVNClientException
path
- SVNClientException
ISVNStatus[] getStatus(java.io.File path, boolean descend, boolean getAll) throws SVNClientException
path
- File to gather status.descend
- get recursive status informationgetAll
- get status information for all filesSVNClientException
ISVNStatus[] getStatus(java.io.File path, boolean descend, boolean getAll, boolean contactServer) throws SVNClientException
path
- File to gather status.descend
- get recursive status informationgetAll
- get status information for all filescontactServer
- contact server to get remote changesSVNClientException
ISVNStatus[] getStatus(java.io.File path, boolean descend, boolean getAll, boolean contactServer, boolean ignoreExternals) throws SVNClientException
path
- File to gather status.descend
- get recursive status informationgetAll
- get status information for all filescontactServer
- contact server to get remote changesignoreExternals
- if externals are ignored during statusSVNClientException
ISVNStatus[] getStatus(java.io.File path, boolean descend, boolean getAll, boolean contactServer, boolean ignoreExternals, ISVNStatusCallback callback) throws SVNClientException
path
- File to gather status.descend
- get recursive status informationgetAll
- get status information for all filescontactServer
- contact server to get remote changesignoreExternals
- if externals are ignored during statuscallback
- callback to collect statusesSVNClientException
void copy(java.io.File srcPath, java.io.File destPath) throws SVNClientException
srcPath
- destPath
- SVNClientException
void copy(java.io.File srcPath, SVNUrl destUrl, java.lang.String message) throws SVNClientException
srcPath
- destUrl
- message
- SVNClientException
void copy(java.io.File[] srcPaths, SVNUrl destUrl, java.lang.String message, boolean copyAsChild, boolean makeParents) throws SVNClientException
srcPaths
- destUrl
- message
- copyAsChild
- makeParents
- SVNClientException
void copy(SVNUrl srcUrl, java.io.File destPath, SVNRevision revision) throws SVNClientException
srcUrl
- destPath
- revision
- SVNClientException
void copy(SVNUrl srcUrl, java.io.File destPath, SVNRevision revision, boolean copyAsChild, boolean makeParents) throws SVNClientException
srcUrl
- destPath
- revision
- boolean
- boolean
- SVNClientException
void copy(SVNUrl srcUrl, java.io.File destPath, SVNRevision revision, SVNRevision pegRevision, boolean copyAsChild, boolean makeParents) throws SVNClientException
srcUrl
- destPath
- revision
- pegRevision
- boolean
- boolean
- SVNClientException
void copy(SVNUrl srcUrl, SVNUrl destUrl, java.lang.String message, SVNRevision revision) throws SVNClientException
srcUrl
- destUrl
- message
- revision
- SVNClientException
void copy(SVNUrl srcUrl, SVNUrl destUrl, java.lang.String message, SVNRevision revision, boolean makeParents) throws SVNClientException
srcUrl
- destUrl
- message
- revision
- make
- parentsSVNClientException
void copy(SVNUrl[] srcUrls, SVNUrl destUrl, java.lang.String message, SVNRevision revision, boolean copyAsChild, boolean makeParents) throws SVNClientException
srcUrl
- destUrl
- message
- revision
- copyAsChild
- make
- parentsSVNClientException
void remove(SVNUrl[] url, java.lang.String message) throws SVNClientException
url
- message
- SVNClientException
void remove(java.io.File[] file, boolean force) throws SVNClientException
file
- force
- SVNClientException
void doExport(SVNUrl srcUrl, java.io.File destPath, SVNRevision revision, boolean force) throws SVNClientException
srcUrl
- destPath
- revision
- force
- SVNClientException
void doExport(java.io.File srcPath, java.io.File destPath, boolean force) throws SVNClientException
srcPath
- destPath
- force
- SVNClientException
void doImport(java.io.File path, SVNUrl url, java.lang.String message, boolean recurse) throws SVNClientException
path
- url
- message
- recurse
- SVNClientException
void mkdir(SVNUrl url, java.lang.String message) throws SVNClientException
url
- message
- SVNClientException
void mkdir(SVNUrl url, boolean makeParents, java.lang.String message) throws SVNClientException
url
- makeParents
- message
- SVNClientException
void mkdir(java.io.File file) throws SVNClientException
file
- SVNClientException
void move(java.io.File srcPath, java.io.File destPath, boolean force) throws SVNClientException
srcPath
- destPath
- force
- SVNClientException
void move(SVNUrl srcUrl, SVNUrl destUrl, java.lang.String message, SVNRevision revision) throws SVNClientException
srcUrl
- destUrl
- message
- revision
- SVNClientException
long update(java.io.File path, SVNRevision revision, boolean recurse) throws SVNClientException
path
- revision
- recurse
- SVNClientException
long update(java.io.File path, SVNRevision revision, int depth, boolean setDepth, boolean ignoreExternals, boolean force) throws SVNClientException
path
- revision
- depth
- setDepth
- ignoreExternals
- force
- SVNClientException
long[] update(java.io.File[] path, SVNRevision revision, boolean recurse, boolean ignoreExternals) throws SVNClientException
path
- array of target files.revision
- the revision number to update.recurse
- recursively update.ignoreExternals
- if externals are ignored during updateSVNClientException
long[] update(java.io.File[] path, SVNRevision revision, int depth, boolean setDepth, boolean ignoreExternals, boolean force) throws SVNClientException
path
- array of target files.revision
- the revision number to update.depth
- the depth to recursively update.setDepth
- change working copy to specified depthignoreExternals
- if externals are ignored during update.force
- allow unversioned paths that obstruct adds.SVNClientException
void revert(java.io.File path, boolean recurse) throws SVNClientException
path
- recurse
- SVNClientException
ISVNLogMessage[] getLogMessages(SVNUrl url, SVNRevision revisionStart, SVNRevision revisionEnd) throws SVNClientException
url
- revisionStart
- revisionEnd
- SVNClientException
ISVNLogMessage[] getLogMessages(SVNUrl url, SVNRevision revisionStart, SVNRevision revisionEnd, boolean fetchChangePath) throws SVNClientException
url
- revisionStart
- revisionEnd
- fetchChangePath
- Whether or not to interogate the
repository for the verbose log information containing the list
of paths touched by the delta specified by
revisionStart
and revisionEnd
.
Setting this to false
results in a more performant
and memory efficient operation.SVNClientException
ISVNLogMessage[] getLogMessages(SVNUrl url, java.lang.String[] paths, SVNRevision revStart, SVNRevision revEnd, boolean stopOnCopy, boolean fetchChangePath) throws SVNClientException
url
- paths
- revStart
- revEnd
- stopOnCopy
- fetchChangePath
- SVNClientException
ISVNLogMessage[] getLogMessages(java.io.File path, SVNRevision revisionStart, SVNRevision revisionEnd) throws SVNClientException
path
- revisionStart
- revisionEnd
- SVNClientException
ISVNLogMessage[] getLogMessages(java.io.File path, SVNRevision revisionStart, SVNRevision revisionEnd, boolean fetchChangePath) throws SVNClientException
path
- revisionStart
- revisionEnd
- fetchChangePath
- Whether or not to interogate the
repository for the verbose log information containing the list
of paths touched by the delta specified by
revisionStart
and revisionEnd
.
Setting this to false
results in a more performant
and memory efficient operation.SVNClientException
ISVNLogMessage[] getLogMessages(java.io.File path, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath) throws SVNClientException
path
- path or url to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectsSVNClientException
ISVNLogMessage[] getLogMessages(java.io.File path, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath, long limit) throws SVNClientException
path
- path to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)SVNClientException
ISVNLogMessage[] getLogMessages(java.io.File path, SVNRevision pegRevision, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath, long limit, boolean includeMergedRevisions) throws SVNClientException
path
- path to get the log message for.pegRevision
- peg revision for URLrevisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)includeMergedRevisions
- include revisions that were mergedSVNClientException
ISVNLogMessage[] getLogMessages(SVNUrl url, SVNRevision pegRevision, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath, long limit) throws SVNClientException
url
- url to get the log message for.pegRevision
- peg revision for URLrevisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)SVNClientException
ISVNLogMessage[] getLogMessages(SVNUrl url, SVNRevision pegRevision, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath, long limit, boolean includeMergedRevisions) throws SVNClientException
url
- url to get the log message for.pegRevision
- peg revision for URLrevisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)includeMergedRevisions
- include revisions that were mergedSVNClientException
void getLogMessages(java.io.File path, SVNRevision pegRevision, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath, long limit, boolean includeMergedRevisions, java.lang.String[] requestedProperties, ISVNLogMessageCallback callback) throws SVNClientException
path
- path to get the log message for.pegRevision
- peg revision for URLrevisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)includeMergedRevisions
- include revisions that were mergedrequestedProperties
- the revision properties to return for each entrycallback
- callback class to receive log messagesSVNClientException
void getLogMessages(SVNUrl url, SVNRevision pegRevision, SVNRevision revisionStart, SVNRevision revisionEnd, boolean stopOnCopy, boolean fetchChangePath, long limit, boolean includeMergedRevisions, java.lang.String[] requestedProperties, ISVNLogMessageCallback callback) throws SVNClientException
url
- url to get the log message for.pegRevision
- peg revision for URLrevisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsfetchChangePath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)includeMergedRevisions
- include revisions that were mergedrequestedProperties
- the revision properties to return for each entrycallback
- callback class to receive log messagesSVNClientException
java.io.InputStream getContent(SVNUrl url, SVNRevision revision, SVNRevision pegRevision) throws SVNClientException
url
- revision
- peg
- revisionSVNClientException
java.io.InputStream getContent(SVNUrl url, SVNRevision revision) throws SVNClientException
url
- revision
- SVNClientException
java.io.InputStream getContent(java.io.File path, SVNRevision revision) throws SVNClientException
path
- revision
- SVNClientException
void propertySet(java.io.File path, java.lang.String propertyName, java.lang.String propertyValue, boolean recurse) throws SVNClientException
path
- propertyName
- propertyValue
- recurse
- SVNClientException
void propertySet(SVNUrl url, SVNRevision.Number baseRev, java.lang.String propertyName, java.lang.String propertyValue, java.lang.String message) throws SVNClientException
url
- baseRev
- propertyName
- propertyValue
- recurse
- SVNClientException
void propertySet(java.io.File path, java.lang.String propertyName, java.io.File propertyFile, boolean recurse) throws SVNClientException, java.io.IOException
path
- propertyName
- propertyFile
- recurse
- SVNClientException
java.io.IOException
ISVNProperty propertyGet(java.io.File path, java.lang.String propertyName) throws SVNClientException
path
- propertyName
- SVNClientException
ISVNProperty propertyGet(SVNUrl url, java.lang.String propertyName) throws SVNClientException
url
- propertyName
- SVNClientException
ISVNProperty propertyGet(SVNUrl url, SVNRevision revision, SVNRevision peg, java.lang.String propertyName) throws SVNClientException
url
- revision
- peg
- propertyName
- SVNClientException
void propertyDel(java.io.File path, java.lang.String propertyName, boolean recurse) throws SVNClientException
path
- propertyName
- recurse
- SVNClientException
void setRevProperty(SVNUrl path, SVNRevision.Number revisionNo, java.lang.String propName, java.lang.String propertyData, boolean force) throws SVNClientException
path
- revisionNo
- propName
- propertyData
- force
- SVNClientException
java.lang.String getRevProperty(SVNUrl path, SVNRevision.Number revisionNo, java.lang.String propName) throws SVNClientException
path
- revisionNo
- propName
- SVNClientException
java.util.List getIgnoredPatterns(java.io.File path) throws SVNClientException
path
- SVNClientException
void addToIgnoredPatterns(java.io.File path, java.lang.String pattern) throws SVNClientException
path
- pattern
- SVNClientException
void setIgnoredPatterns(java.io.File path, java.util.List patterns) throws SVNClientException
path
- patterns
- SVNClientException
void diff(java.io.File oldPath, SVNRevision oldPathRevision, java.io.File newPath, SVNRevision newPathRevision, java.io.File outFile, boolean recurse) throws SVNClientException
oldPath
- oldPathRevision
- newPath
- newPathRevision
- outFile
- recurse
- SVNClientException
void diff(java.io.File oldPath, SVNRevision oldPathRevision, java.io.File newPath, SVNRevision newPathRevision, java.io.File outFile, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws SVNClientException
oldPath
- oldPathRevision
- newPath
- newPathRevision
- outFile
- recurse
- ignoreAncestry
- noDiffDeleted
- force
- SVNClientException
void diff(java.io.File path, java.io.File outFile, boolean recurse) throws SVNClientException
path
- outFile
- recurse
- SVNClientException
void diff(java.io.File[] paths, java.io.File outFile, boolean recurse) throws SVNClientException
paths
- outFile
- recurse
- SVNClientException
void createPatch(java.io.File[] paths, java.io.File relativeToPath, java.io.File outFile, boolean recurse) throws SVNClientException
paths
- relativeToPath
- - create patch relative to this locationoutFile
- recurse
- SVNClientException
void diff(SVNUrl oldUrl, SVNRevision oldUrlRevision, SVNUrl newUrl, SVNRevision newUrlRevision, java.io.File outFile, boolean recurse) throws SVNClientException
oldUrl
- oldUrlRevision
- newUrl
- newUrlRevision
- outFile
- recurse
- SVNClientException
void diff(SVNUrl oldUrl, SVNRevision oldUrlRevision, SVNUrl newUrl, SVNRevision newUrlRevision, java.io.File outFile, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws SVNClientException
oldUrl
- oldUrlRevision
- newUrl
- newUrlRevision
- outFile
- recurse
- ignoreAncestry
- noDiffDeleted
- force
- SVNClientException
void diff(SVNUrl target, SVNRevision pegRevision, SVNRevision startRevision, SVNRevision endRevision, java.io.File outFile, int depth, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws SVNClientException
target
- pegRevision
- startRevision
- endRevision
- outFile
- depth
- ignoreAncestry
- noDiffDeleted
- force
- SVNClientException
void diff(SVNUrl target, SVNRevision pegRevision, SVNRevision startRevision, SVNRevision endRevision, java.io.File outFile, boolean recurse) throws SVNClientException
target
- pegRevision
- startRevision
- endRevision
- outFile
- recurse
- SVNClientException
void diff(SVNUrl url, SVNRevision oldUrlRevision, SVNRevision newUrlRevision, java.io.File outFile, boolean recurse) throws SVNClientException
url
- oldUrlRevision
- newUrlRevision
- outFile
- recurse
- SVNClientException
void diff(java.io.File path, SVNUrl url, SVNRevision urlRevision, java.io.File outFile, boolean recurse) throws SVNClientException
path
- url
- urlRevision
- outFile
- recurse
- SVNClientException
SVNKeywords getKeywords(java.io.File path) throws SVNClientException
path
- SVNClientException
void setKeywords(java.io.File path, SVNKeywords keywords, boolean recurse) throws SVNClientException
path
- keywords
- recurse
- SVNClientException
SVNKeywords addKeywords(java.io.File path, SVNKeywords keywords) throws SVNClientException
path
- keywords
- SVNClientException
SVNKeywords removeKeywords(java.io.File path, SVNKeywords keywords) throws SVNClientException
path
- keywords
- SVNClientException
ISVNAnnotations annotate(SVNUrl url, SVNRevision revisionStart, SVNRevision revisionEnd) throws SVNClientException
url
- revisionStart
- revisionEnd
- SVNClientException
ISVNAnnotations annotate(java.io.File file, SVNRevision revisionStart, SVNRevision revisionEnd) throws SVNClientException
file
- revisionStart
- revisionEnd
- SVNClientException
ISVNAnnotations annotate(SVNUrl url, SVNRevision revisionStart, SVNRevision revisionEnd, SVNRevision pegRevision, boolean ignoreMimeType, boolean includeMergedRevisions) throws SVNClientException
url
- revisionStart
- revisionEnd
- pegRevision
- ignoreMimeType
- includeMergedRevisons
- SVNClientException
ISVNAnnotations annotate(java.io.File file, SVNRevision revisionStart, SVNRevision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions) throws SVNClientException
file
- revisionStart
- revisionEnd
- ignoreMimeType
- includeMergedRevisons
- SVNClientException
ISVNAnnotations annotate(java.io.File file, SVNRevision revisionStart, SVNRevision revisionEnd, SVNRevision pegRevision, boolean ignoreMimeType, boolean includeMergedRevisions) throws SVNClientException
file
- revisionStart
- revisionEnd
- pegRevision;
- ignoreMimeType
- includeMergedRevisons
- SVNClientException
ISVNProperty[] getProperties(java.io.File path) throws SVNClientException
path
- SVNClientException
ISVNProperty[] getProperties(java.io.File path, boolean descend) throws SVNClientException
path
- descend
- get properties recursivelySVNClientException
ISVNProperty[] getProperties(SVNUrl url, SVNRevision revision, SVNRevision peg, boolean recurse) throws SVNClientException
url
- revision
- peg
- recurse
- SVNClientException
ISVNProperty[] getProperties(SVNUrl url, SVNRevision revision, SVNRevision peg) throws SVNClientException
url
- revision
- peg
- SVNClientException
ISVNProperty[] getProperties(SVNUrl url) throws SVNClientException
url
- SVNClientException
ISVNProperty[] getRevProperties(SVNUrl url, SVNRevision.Number revision) throws SVNClientException
url
- revision
- SVNClientException
void resolved(java.io.File path) throws SVNClientException
path
- SVNClientException
void resolve(java.io.File path, int result) throws SVNClientException
path
- result
- - choose resolve option - ISVNConflictResolver.Choice
SVNClientException
void createRepository(java.io.File path, java.lang.String repositoryType) throws SVNClientException
path
- repositoryType
- either REPOSITORY_FSTYPE_BDB
or
REPOSITORY_FSTYPE_FSFS
or null (will use svnadmin default)SVNClientException
void cancelOperation() throws SVNClientException
SVNClientException
ISVNInfo getInfoFromWorkingCopy(java.io.File file) throws SVNClientException
file
- SVNClientException
ISVNInfo getInfo(java.io.File file) throws SVNClientException
file
- SVNClientException
ISVNInfo[] getInfo(java.io.File file, boolean descend) throws SVNClientException
file
- descend
- get recursive informationSVNClientException
ISVNInfo getInfo(SVNUrl url) throws SVNClientException
url
- SVNClientException
ISVNInfo getInfo(SVNUrl url, SVNRevision revision, SVNRevision peg) throws SVNClientException
url
- revision
- peg
- SVNClientException
void switchToUrl(java.io.File path, SVNUrl url, SVNRevision revision, boolean recurse) throws SVNClientException
url
- path
- revision
- recurse
- SVNClientException
void switchToUrl(java.io.File path, SVNUrl url, SVNRevision revision, int depth, boolean setDepth, boolean ignoreExternals, boolean force) throws SVNClientException
url
- path
- revision
- depth
- setDepth
- ignoreExternals
- force
- SVNClientException
void switchToUrl(java.io.File path, SVNUrl url, SVNRevision revision, SVNRevision pegRevision, int depth, boolean setDepth, boolean ignoreExternals, boolean force) throws SVNClientException
url
- path
- revision
- pegRevision
- depth
- setDepth
- ignoreExternals
- force
- SVNClientException
void switchToUrl(java.io.File path, SVNUrl url, SVNRevision revision, SVNRevision pegRevision, int depth, boolean setDepth, boolean ignoreExternals, boolean force, boolean ignoreAncestry) throws SVNClientException
url
- path
- revision
- pegRevision
- depth
- setDepth
- ignoreExternals
- force
- ignoreAncestry
- SVNClientException
void setConfigDirectory(java.io.File dir) throws SVNClientException
dir
- SVNClientException
void cleanup(java.io.File dir) throws SVNClientException
dir
- SVNClientException
void upgrade(java.io.File dir) throws SVNClientException
dir
- SVNClientException
void merge(SVNUrl path1, SVNRevision revision1, SVNUrl path2, SVNRevision revision2, java.io.File localPath, boolean force, boolean recurse) throws SVNClientException
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectoriesSVNClientException
void merge(SVNUrl path1, SVNRevision revision1, SVNUrl path2, SVNRevision revision2, java.io.File localPath, boolean force, boolean recurse, boolean dryRun) throws SVNClientException
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectoriesdryRun
- do not update working copySVNClientException
void merge(SVNUrl path1, SVNRevision revision1, SVNUrl path2, SVNRevision revision2, java.io.File localPath, boolean force, boolean recurse, boolean dryRun, boolean ignoreAncestry) throws SVNClientException
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectoriesdryRun
- do not update working copyignoreAncestry
- ignore ancestry when calculating mergesSVNClientException
void merge(SVNUrl path1, SVNRevision revision1, SVNUrl path2, SVNRevision revision2, java.io.File localPath, boolean force, int depth, boolean dryRun, boolean ignoreAncestry, boolean recordOnly) throws SVNClientException
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesint
- depthdryRun
- do not update working copyignoreAncestry
- ignore ancestry when calculating mergesrecordOnly
- just records mergeinfo, does not perform mergeSVNClientException
void mergeReintegrate(SVNUrl path, SVNRevision pegRevision, java.io.File localPath, boolean force, boolean dryRun) throws SVNClientException
path
- path or urlpegRevision
- revision to interpret pathlocalPath
- target local pathforce
- THIS IS NOT CURRENTLY USEDdryRun
- do not update working copySVNClientException
void lock(SVNUrl[] paths, java.lang.String comment, boolean force) throws SVNClientException
paths
- path of the items to lockcomment
- force
- break an existing lockSVNClientException
void unlock(SVNUrl[] paths, boolean force) throws SVNClientException
paths
- path of the items to unlockforce
- break an existing lockSVNClientException
void lock(java.io.File[] paths, java.lang.String comment, boolean force) throws SVNClientException
paths
- path of the items to lockcomment
- force
- break an existing lockSVNClientException
void unlock(java.io.File[] paths, boolean force) throws SVNClientException
paths
- path of the items to unlockforce
- break an existing lockSVNClientException
boolean statusReturnsRemoteInfo()
boolean canCommitAcrossWC()
java.lang.String getAdminDirectoryName()
boolean isAdminDirectory(java.lang.String name)
name
- void relocate(java.lang.String from, java.lang.String to, java.lang.String path, boolean recurse) throws SVNClientException
from
- old urlto
- new urlpath
- working copy pathrecurse
- recurse into subdirectoriesSVNClientException
void merge(SVNUrl url, SVNRevision pegRevision, SVNRevisionRange[] revisions, java.io.File localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws SVNClientException
url
- urlpegRevision
- revision to interpret pathrevisions
- revisions to merge (must be in the form N-1:M)localPath
- target local pathforce
- overwrite local changesdepth
- how deep to traverse into subdirectoriesignoreAncestry
- ignore if files are not relateddryRun
- do not change anythingrecordOnly
- just records mergeinfo, does not perform mergeSVNClientException
ISVNMergeInfo getMergeInfo(java.io.File path, SVNRevision revision) throws SVNClientException
path
at revision
.path
- Local Path.revision
- SVNRevision at which to get the merge info for
path
.SVNClientException
ISVNMergeInfo getMergeInfo(SVNUrl url, SVNRevision revision) throws SVNClientException
url
at revision
.url
- URL.revision
- SVNRevision at which to get the merge info for
path
.SVNClientException
ISVNLogMessage[] getMergeinfoLog(int kind, java.io.File path, SVNRevision pegRevision, SVNUrl mergeSourceUrl, SVNRevision srcPegRevision, boolean discoverChangedPaths) throws SVNClientException
kind
- kind of revisions to receivepath
- target of mergepegRevision
- peg rev for pathmergeSourceUrl
- the source of the mergesrcPegRevision
- peg rev for mergeSourceUrldiscoverChangedPaths
- return paths of changed itemsSVNClientException
ISVNLogMessage[] getMergeinfoLog(int kind, SVNUrl url, SVNRevision pegRevision, SVNUrl mergeSourceUrl, SVNRevision srcPegRevision, boolean discoverChangedPaths) throws SVNClientException
kind
- kind of revisions to receiveurl
- target of mergepegRevision
- peg rev for pathmergeSourceUrl
- the source of the mergesrcPegRevision
- peg rev for mergeSourceUrldiscoverChangedPaths
- return paths of changed itemsSVNClientException
SVNDiffSummary[] diffSummarize(SVNUrl target1, SVNRevision revision1, SVNUrl target2, SVNRevision revision2, int depth, boolean ignoreAncestry) throws SVNClientException
target1
- URL.revision1
- Revision of target1
.target2
- URL.revision2
- Revision of target2
.depth
- how deep to recurse.ignoreAncestry
- Whether to ignore unrelated files during
comparison. False positives may potentially be reported if
this parameter false
, since a file might have been
modified between two revisions, but still have the same
contents.SVNClientException
SVNDiffSummary[] diffSummarize(SVNUrl target, SVNRevision pegRevision, SVNRevision startRevision, SVNRevision endRevision, int depth, boolean ignoreAncestry) throws SVNClientException
target
- URL.pegRevision
- Revision at which to interpret
target
. If RevisionKind#unspecified
or
null
, behave identically to diffSummarize(String, Revision, String, Revision, boolean,
boolean, DiffSummaryReceiver)
, using path
for
both of that method's targets.startRevision
- Beginning of range for comparsion of
target
.endRevision
- End of range for comparsion of
target
.depth
- how deep to recurse.ignoreAncestry
- Whether to ignore unrelated files during
comparison. False positives may potentially be reported if
this parameter false
, since a file might have been
modified between two revisions, but still have the same
contents.SVNClientException
SVNDiffSummary[] diffSummarize(java.io.File path, SVNUrl toUrl, SVNRevision toRevision, boolean recurse) throws SVNClientException
SVNClientException
java.lang.String[] suggestMergeSources(java.io.File path) throws SVNClientException
path
- The merge target path for which to suggest sources.SVNClientException
- If an error occurs.java.lang.String[] suggestMergeSources(SVNUrl url, SVNRevision peg) throws SVNClientException
url
- The merge target path for which to suggest sources.peg
- The peg revision for the URLSVNClientException
- If an error occurs.void dispose()