|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.subversion.javahl.SVNClientSynchronized
public class SVNClientSynchronized
This class provides a threadsafe wrapped for SVNClient
Constructor Summary | |
---|---|
SVNClientSynchronized()
Create our worker |
Method Summary | |
---|---|
void |
add(String path,
boolean recurse)
Deprecated. Use add(String, int, boolean, boolean, boolean)
instead. |
void |
add(String path,
boolean recurse,
boolean force)
Deprecated. Use add(String, int, boolean, boolean, boolean)
instead. |
void |
add(String path,
int depth,
boolean force,
boolean noIgnores,
boolean addParents)
Adds a file to the repository. |
void |
addToChangelist(String[] paths,
String changelist,
int depth,
String[] changelists)
Add paths to a changelist |
byte[] |
blame(String path,
Revision revisionStart,
Revision revisionEnd)
Deprecated. Use blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback2)
instead. |
void |
blame(String path,
Revision revisionStart,
Revision revisionEnd,
BlameCallback callback)
Deprecated. Use blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback2)
instead. |
void |
blame(String path,
Revision pegRevision,
Revision revisionStart,
Revision revisionEnd,
BlameCallback callback)
Deprecated. Use blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback2)
instead. |
void |
blame(String path,
Revision pegRevision,
Revision revisionStart,
Revision revisionEnd,
boolean ignoreMimeType,
boolean includeMergedRevisions,
BlameCallback2 callback)
Deprecated. Use blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback3)
instead. |
void |
blame(String path,
Revision pegRevision,
Revision revisionStart,
Revision revisionEnd,
boolean ignoreMimeType,
boolean includeMergedRevisions,
BlameCallback3 callback)
Retrieve the content together with the author, the revision and the date of the last change of each line |
void |
cancelOperation()
cancel the active operation |
long |
checkout(String moduleName,
String destPath,
Revision revision,
boolean recurse)
Deprecated. Use checkout(String, String, Revision, Revision,
int, boolean, boolean) instead. |
long |
checkout(String moduleName,
String destPath,
Revision revision,
Revision pegRevision,
boolean recurse,
boolean ignoreExternals)
Deprecated. Use checkout(String, String, Revision, Revision,
int, boolean, boolean) instead. |
long |
checkout(String moduleName,
String destPath,
Revision revision,
Revision pegRevision,
int depth,
boolean ignoreExternals,
boolean allowUnverObstructions)
Executes a revision checkout. |
void |
cleanup(String path)
Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc. |
long |
commit(String[] path,
String message,
boolean recurse)
Deprecated. Use #commit(String[], String, int, boolean, boolean,
String[]) instead. |
long |
commit(String[] path,
String message,
boolean recurse,
boolean noUnlock)
Deprecated. Use #commit(String[], String, int, boolean, boolean,
String[]) instead. |
long |
commit(String[] path,
String message,
int depth,
boolean noUnlock,
boolean keepChangelist,
String[] changelists,
Map revpropTable)
Commits changes to the repository. |
void |
commitMessageHandler(CommitMessage messageHandler)
Sets the commit message handler. |
void |
copy(CopySource[] sources,
String destPath,
String message,
boolean copyAsChild,
boolean makeParents,
boolean ignoreExternals,
Map revpropTable)
Copy versioned paths with the history preserved. |
void |
copy(CopySource[] sources,
String destPath,
String message,
boolean copyAsChild,
boolean makeParents,
Map revpropTable)
Deprecated. Use copy(CopySource[], String, String, boolean,
boolean, boolean, Map) instead. |
void |
copy(String srcPath,
String destPath,
String message,
Revision revision)
Deprecated. Use copy(CopySource[], String, String, boolean,
boolean, boolean, Map) instead. |
void |
diff(String target,
Revision pegRevision,
Revision startRevision,
Revision endRevision,
String outFileName,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Deprecated. Use #diff(String, Revision, Revision, Revision,
String, String, int, boolean, boolean,
boolean) instead. |
void |
diff(String target,
Revision pegRevision,
Revision startRevision,
Revision endRevision,
String relativeToDir,
String outFileName,
int depth,
String[] changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Deprecated. Use #diff(String, Revision, Revision, Revision,
String, String, int, boolean, boolean,
boolean, boolean) instead. |
void |
diff(String target,
Revision pegRevision,
Revision startRevision,
Revision endRevision,
String relativeToDir,
String outFileName,
int depth,
String[] changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force,
boolean copiesAsAdds)
Display the differences between two paths. |
void |
diff(String target1,
Revision revision1,
String target2,
Revision revision2,
String outFileName,
boolean recurse)
Deprecated. Use #diff(String, Revision, String, Revision,
String, String, int, boolean, boolean,
boolean) instead. |
void |
diff(String target1,
Revision revision1,
String target2,
Revision revision2,
String outFileName,
boolean recurse,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Deprecated. Use #diff(String, Revision, String, Revision,
String, String, int, boolean, boolean,
boolean) instead. |
void |
diff(String target1,
Revision revision1,
String target2,
Revision revision2,
String relativeToDir,
String outFileName,
int depth,
String[] changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force)
Deprecated. Use #diff(String, Revision, String, Revision,
String, String, int, boolean, boolean,
boolean, boolean) instead. |
void |
diff(String target1,
Revision revision1,
String target2,
Revision revision2,
String relativeToDir,
String outFileName,
int depth,
String[] changelists,
boolean ignoreAncestry,
boolean noDiffDeleted,
boolean force,
boolean copiesAsAdds)
Display the differences between two paths |
void |
diffSummarize(String target,
Revision pegRevision,
Revision startRevision,
Revision endRevision,
int depth,
String[] changelists,
boolean ignoreAncestry,
DiffSummaryReceiver receiver)
Produce a diff summary which lists the items changed between path and revision pairs. |
void |
diffSummarize(String target1,
Revision revision1,
String target2,
Revision revision2,
int depth,
String[] changelists,
boolean ignoreAncestry,
DiffSummaryReceiver receiver)
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) |
long |
doExport(String srcPath,
String destPath,
Revision revision,
boolean force)
Deprecated. Use doExport(String, String, Revision, Revision,
boolean, boolean, int, String) instead. |
long |
doExport(String srcPath,
String destPath,
Revision revision,
Revision pegRevision,
boolean force,
boolean ignoreExternals,
boolean recurse,
String nativeEOL)
Deprecated. Use doExport(String, String, Revision, Revision,
boolean, boolean, int, String) instead. |
long |
doExport(String srcPath,
String destPath,
Revision revision,
Revision pegRevision,
boolean force,
boolean ignoreExternals,
int depth,
String nativeEOL)
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories). |
void |
doImport(String path,
String url,
String message,
boolean recurse)
Deprecated. Use #doImport(String, String, String, int, boolean,
boolean) instead. |
void |
doImport(String path,
String url,
String message,
int depth,
boolean noIgnore,
boolean ignoreUnknownNodeTypes,
Map revpropTable)
Import a file or directory into a repository directory at head. |
long |
doSwitch(String path,
String url,
Revision revision,
boolean recurse)
Deprecated. Use doSwitch(String, String, Revision, boolean)
instead. |
long |
doSwitch(String path,
String url,
Revision revision,
Revision pegRevision,
int depth,
boolean depthIsSticky,
boolean ignoreExternals,
boolean allowUnverObstructions)
Update local copy to mirror a new url. |
byte[] |
fileContent(String path,
Revision revision)
Deprecated. Use fileContent(String, Revision, Revision)
instead. |
byte[] |
fileContent(String path,
Revision revision,
Revision pegRevision)
Retrieve the content of a file |
String |
getAdminDirectoryName()
|
void |
getChangelists(String rootPath,
String[] changelists,
int depth,
ChangelistCallback callback)
Recursively get the paths which belong to a changelist |
String |
getConfigDirectory()
Get the configuration directory |
String |
getLastPath()
Deprecated. |
Mergeinfo |
getMergeinfo(String path,
Revision pegRevision)
Get mergeinfo for path at pegRevision . |
void |
getMergeinfoLog(int kind,
String pathOrUrl,
Revision pegRevision,
String mergeSourceUrl,
Revision srcPegRevision,
boolean discoverChangedPaths,
int depth,
String[] revprops,
LogMessageCallback callback)
Retrieve either merged or eligible-to-be-merged revisions. |
void |
getMergeinfoLog(int kind,
String pathOrUrl,
Revision pegRevision,
String mergeSourceUrl,
Revision srcPegRevision,
boolean discoverChangedPaths,
String[] revprops,
LogMessageCallback callback)
Deprecated. Use getMergeinfoLog(int, String, Revision, String,
Revision, boolean, int,
String[], LogMessageCallback) |
Version |
getVersion()
|
String |
getVersionInfo(String path,
String trailUrl,
boolean lastChanged)
Produce a compact "version number" for a working copy |
Info |
info(String path)
Deprecated. Use #info2(String, Revision, Revision, int,
InfoCallback) instead. |
Info2[] |
info2(String pathOrUrl,
Revision revision,
Revision pegRevision,
boolean recurse)
Deprecated. Use #info2(String, Revision, Revision, int,
InfoCallback) instead. |
void |
info2(String pathOrUrl,
Revision revision,
Revision pegRevision,
int depth,
String[] changelists,
InfoCallback callback)
Retrieve information about repository or working copy items. |
boolean |
isAdminDirectory(String name)
|
DirEntry[] |
list(String url,
Revision revision,
boolean recurse)
Deprecated. Use list(String, Revision, Revision, int, int,
boolean, ListCallback) instead. |
DirEntry[] |
list(String url,
Revision revision,
Revision pegRevision,
boolean recurse)
Deprecated. Use list(String, Revision, Revision, int, int,
boolean, ListCallback) instead. |
void |
list(String url,
Revision revision,
Revision pegRevision,
int depth,
int direntFields,
boolean fetchLocks,
ListCallback callback)
Lists the directory entries of an url on the server. |
void |
lock(String[] path,
String comment,
boolean force)
Lock a working copy item |
LogMessage[] |
logMessages(String path,
Revision revisionStart,
Revision revisionEnd)
Deprecated. Use logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback) instead. |
LogMessage[] |
logMessages(String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy)
Deprecated. Use logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback) instead. |
LogMessage[] |
logMessages(String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath)
Deprecated. Use logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback) instead. |
LogMessage[] |
logMessages(String path,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath,
long limit)
Deprecated. Use logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback) instead. |
void |
logMessages(String path,
Revision pegRevision,
RevisionRange[] revisionRanges,
boolean stopOnCopy,
boolean discoverPath,
boolean includeMergedRevisions,
String[] revProps,
long limit,
LogMessageCallback callback)
Retrieve the log messages for an item. |
void |
logMessages(String path,
Revision pegRevision,
Revision revisionStart,
Revision revisionEnd,
boolean stopOnCopy,
boolean discoverPath,
boolean includeMergedRevisions,
String[] revProps,
long limit,
LogMessageCallback callback)
Deprecated. Use logMessages(String, Revision, RevisionRange[],
boolean, boolean, boolean, String[],
long, LogMessageCallback) instead. |
void |
merge(String path,
Revision pegRevision,
RevisionRange[] revisions,
String localPath,
boolean force,
int depth,
boolean ignoreAncestry,
boolean dryRun,
boolean recordOnly)
Merge set of revisions into a new local path. |
void |
merge(String path,
Revision pegRevision,
Revision revision1,
Revision revision2,
String localPath,
boolean force,
boolean recurse,
boolean ignoreAncestry,
boolean dryRun)
Deprecated. Use merge(String, Revision, RevisionRange[],
String, boolean, int, boolean,
boolean, boolean) instead. |
void |
merge(String path1,
Revision revision1,
String path2,
Revision revision2,
String localPath,
boolean force,
boolean recurse)
Deprecated. Use merge(String, Revision, String, Revision,
String, boolean, int, boolean,
boolean, boolean) instead. |
void |
merge(String path1,
Revision revision1,
String path2,
Revision revision2,
String localPath,
boolean force,
boolean recurse,
boolean ignoreAncestry,
boolean dryRun)
Deprecated. Use merge(String, Revision, String, Revision,
String, boolean, int, boolean,
boolean, boolean) instead. |
void |
merge(String path1,
Revision revision1,
String path2,
Revision revision2,
String localPath,
boolean force,
int depth,
boolean ignoreAncestry,
boolean dryRun,
boolean recordOnly)
Merge changes from two paths into a new local path. |
void |
mergeReintegrate(String path,
Revision pegRevision,
String localPath,
boolean dryRun)
Perform a reintegration merge of path into localPath. |
void |
mkdir(String[] path,
String message)
Deprecated. Use #mkdir(String[], String, boolean) instead. |
void |
mkdir(String[] path,
String message,
boolean makeParents,
Map revpropTable)
Creates a directory directly in a repository or creates a directory on disk and schedules it for addition. |
void |
move(String[] srcPaths,
String destPath,
String message,
boolean force,
boolean moveAsChild,
boolean makeParents,
Map revpropTable)
Move or rename versioned paths. |
void |
move(String srcPath,
String destPath,
String message,
boolean force)
Deprecated. Use #move(String[], String, String, boolean, boolean,
boolean) instead. |
void |
move(String srcPath,
String destPath,
String message,
Revision revision,
boolean force)
Deprecated. Use #move(String[], String, String, boolean, boolean,
boolean) instead. |
void |
notification(Notify notify)
Deprecated. Use notification2(Notify2) instead. |
void |
notification2(Notify2 notify)
Sets the notification callback used to send processing information back to the calling program. |
void |
password(String password)
Sets the password used for authentication. |
PropertyData[] |
properties(String path)
Deprecated. Use #properties(String, Revision, Revision,
int, ProplistCallback) instead. |
PropertyData[] |
properties(String path,
Revision revision)
Deprecated. Use #properties(String, Revision, Revision,
int, ProplistCallback) instead. |
PropertyData[] |
properties(String path,
Revision revision,
Revision pegRevision)
Deprecated. Use #properties(String, Revision, Revision,
int, ProplistCallback) instead. |
void |
properties(String path,
Revision revision,
Revision pegRevision,
int depth,
String[] changelists,
ProplistCallback callback)
Retrieves the properties of an item |
void |
propertyCreate(String path,
String name,
byte[] value,
boolean recurse)
Deprecated. Use #propertyCreate(String, String, String, int,
boolean) instead. |
void |
propertyCreate(String path,
String name,
byte[] value,
boolean recurse,
boolean force)
Deprecated. Use #propertyCreate(String, String, String, int,
boolean) instead. |
void |
propertyCreate(String path,
String name,
String value,
boolean recurse)
Deprecated. Use #propertyCreate(String, String, String, int,
boolean) instead. |
void |
propertyCreate(String path,
String name,
String value,
boolean recurse,
boolean force)
Deprecated. Use #propertyCreate(String, String, String, int,
boolean) instead. |
void |
propertyCreate(String path,
String name,
String value,
int depth,
String[] changelists,
boolean force)
Create and sets one property of an item with a byte array value |
PropertyData |
propertyGet(String path,
String name)
Deprecated. Use propertyGet(String, String, Revision) instead. |
PropertyData |
propertyGet(String path,
String name,
Revision revision)
Retrieve one property of one item |
PropertyData |
propertyGet(String path,
String name,
Revision revision,
Revision pegRevision)
Retrieve one property of one item |
void |
propertyRemove(String path,
String name,
boolean recurse)
Deprecated. Use #propertyRemove(String, String, int) instead. |
void |
propertyRemove(String path,
String name,
int depth,
String[] changelists)
Remove one property of an item. |
void |
propertySet(String path,
String name,
byte[] value,
boolean recurse)
Deprecated. Use #propertySet(String, String, String, int,
boolean) instead. |
void |
propertySet(String path,
String name,
byte[] value,
boolean recurse,
boolean force)
Deprecated. Use #propertySet(String, String, String, int,
boolean) instead. |
void |
propertySet(String path,
String name,
String value,
boolean recurse)
Deprecated. Use #propertySet(String, String, String, int,
boolean) instead. |
void |
propertySet(String path,
String name,
String value,
boolean recurse,
boolean force)
Deprecated. Use #propertySet(String, String, String, int,
boolean) instead. |
void |
propertySet(String path,
String name,
String value,
int depth,
String[] changelists,
boolean force,
Map revpropTable)
Sets one property of an item with a String value |
void |
relocate(String from,
String to,
String path,
boolean recurse)
Rewrite the url's in the working copy |
void |
remove(String[] path,
String message,
boolean force)
Deprecated. Use #remove(String[], String, boolean, boolean)
instead. |
void |
remove(String[] path,
String message,
boolean force,
boolean keepLocal,
Map revpropTable)
Sets a file for deletion. |
void |
removeFromChangelists(String[] paths,
int depth,
String[] changelists)
Remove paths from a changelist |
void |
resolve(String path,
int depth,
int conflictResult)
Resolves the conflicted state on a WC path (or tree). |
void |
resolved(String path,
boolean recurse)
Deprecated. Use resolve(String, int, int) instead. |
void |
revert(String path,
boolean recurse)
Deprecated. Use #revert(String, int) instead. |
void |
revert(String path,
int depth,
String[] changelists)
Reverts a file to a pristine state. |
PropertyData[] |
revProperties(String path,
Revision rev)
Retrieve all revsision properties of one item |
PropertyData |
revProperty(String path,
String name,
Revision rev)
Retrieve one revsision property of one item |
void |
setConfigDirectory(String configDir)
Set directory for the configuration information, taking the usual steps to ensure that Subversion's config file templates exist in the specified location.. |
void |
setConflictResolver(ConflictResolverCallback listener)
Set the conflict resolution callback. |
void |
setProgressListener(ProgressListener listener)
Set the progress callback. |
void |
setPrompt(PromptUserPassword prompt)
Register callback interface to supply username and password on demand. |
void |
setRevProperty(String path,
String name,
Revision rev,
String value,
boolean force)
set one revsision property of one item |
void |
setRevProperty(String path,
String name,
Revision rev,
String value,
String originalValue,
boolean force)
set one revsision property of one item |
Status |
singleStatus(String path,
boolean onServer)
Deprecated. Use #status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead. |
Status[] |
status(String path,
boolean descend,
boolean onServer,
boolean getAll)
Deprecated. Use #status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead. |
Status[] |
status(String path,
boolean descend,
boolean onServer,
boolean getAll,
boolean noIgnore)
Deprecated. Use #status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead. |
Status[] |
status(String path,
boolean descend,
boolean onServer,
boolean getAll,
boolean noIgnore,
boolean ignoreExternals)
Deprecated. Use #status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead. |
void |
status(String path,
int depth,
boolean onServer,
boolean getAll,
boolean noIgnore,
boolean ignoreExternals,
String[] changelists,
StatusCallback callback)
List a directory or file of the working copy. |
void |
streamFileContent(String path,
Revision revision,
Revision pegRevision,
int bufferSize,
OutputStream stream)
Write the file's content to the specified output stream. |
String[] |
suggestMergeSources(String path,
Revision pegRevision)
Return an ordered list of suggested merge source URLs. |
void |
unlock(String[] path,
boolean force)
Unlock a working copy item |
long[] |
update(String[] path,
Revision revision,
boolean recurse,
boolean ignoreExternals)
Deprecated. Use update(String[], Revision, int, boolean,
boolean, boolean) instead. |
long[] |
update(String[] path,
Revision revision,
int depth,
boolean depthIsSticky,
boolean ignoreExternals,
boolean allowUnverObstructions)
Updates the directories or files from repository |
long |
update(String path,
Revision revision,
boolean recurse)
Deprecated. Use update(String, Revision, int, boolean,
boolean, boolean) instead. |
long |
update(String path,
Revision revision,
int depth,
boolean depthIsSticky,
boolean ignoreExternals,
boolean allowUnverObstructions)
Updates the directory or file from repository |
void |
upgrade(String path)
Recursively upgrade a working copy to a new metadata storage format. |
void |
username(String username)
Sets the username used for authentication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNClientSynchronized()
Method Detail |
---|
public void dispose()
dispose
in interface SVNClientInterface
public Version getVersion()
getVersion
in interface SVNClientInterface
public String getAdminDirectoryName()
getAdminDirectoryName
in interface SVNClientInterface
.svn
.public boolean isAdminDirectory(String name)
isAdminDirectory
in interface SVNClientInterface
name
- The name of the directory to compare.
name
is that of a working copy
administrative directory.public String getLastPath()
getLastPath
in interface SVNClientInterface
public Status[] status(String path, boolean descend, boolean onServer, boolean getAll) throws ClientException
#status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead.
SVNClientInterface
status
in interface SVNClientInterface
path
- Path to explore.descend
- Recurse into subdirectories if they exist.onServer
- Request status information from server.getAll
- get status for uninteresting (unchanged) files.
ClientException
public Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) throws ClientException
#status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead.
SVNClientInterface
status
in interface SVNClientInterface
path
- Path to explore.descend
- Recurse into subdirectories if they exist.onServer
- Request status information from server.getAll
- get status for uninteresting (unchanged) files.noIgnore
- get status for normaly ignored files and directories.
ClientException
public Status[] status(String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) throws ClientException
#status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead.
SVNClientInterface
status
in interface SVNClientInterface
path
- Path to explore.descend
- Recurse into subdirectories if they exist.onServer
- Request status information from server.getAll
- get status for uninteresting (unchanged) files.noIgnore
- get status for normaly ignored files and directories.ignoreExternals
- if externals are ignored during status
ClientException
public void status(String path, int depth, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals, String[] changelists, StatusCallback callback) throws ClientException
SVNClientInterface
status
in interface SVNClientInterface
path
- Path to explore.depth
- How deep to recurse into subdirectories.onServer
- Request status information from server.getAll
- get status for uninteresting (unchanged) files.noIgnore
- get status for normaly ignored files and directories.ignoreExternals
- if externals are ignored during statuschangelists
- changelists to filter by
ClientException
public DirEntry[] list(String url, Revision revision, boolean recurse) throws ClientException
list(String, Revision, Revision, int, int,
boolean, ListCallback)
instead.
SVNClientInterface
list
in interface SVNClientInterface
url
- the url to listrevision
- the revision to listrecurse
- recurse into subdirectories
ClientException
public DirEntry[] list(String url, Revision revision, Revision pegRevision, boolean recurse) throws ClientException
list(String, Revision, Revision, int, int,
boolean, ListCallback)
instead.
SVNClientInterface
list
in interface SVNClientInterface
url
- the url to listrevision
- the revision to listpegRevision
- the revision to interpret urlrecurse
- recurse into subdirectories
ClientException
public void list(String url, Revision revision, Revision pegRevision, int depth, int direntFields, boolean fetchLocks, ListCallback callback) throws ClientException
SVNClientInterface
list
in interface SVNClientInterface
url
- the url to listrevision
- the revision to listpegRevision
- the revision to interpret urldepth
- the depth to recurse into subdirectoriesdirentFields
- the fields to retrievefetchLocks
- whether to fetch lock informationcallback
- the callback to receive the directory entries
ClientException
public Status singleStatus(String path, boolean onServer) throws ClientException
#status(String, int, boolean, boolean,
boolean, boolean, StatusCallback)
instead.
SVNClientInterface
singleStatus
in interface SVNClientInterface
path
- File to gather status.onServer
- Request status information from the server.
null
if no status is available.
ClientException
public void username(String username)
SVNClientInterface
username
in interface SVNClientInterface
username
- The username, ignored if the empty string. Set
to the empty string to clear it.SVNClientInterface.password(String)
public void password(String password)
SVNClientInterface
password
in interface SVNClientInterface
password
- The password, ignored if the empty string. Set
to the empty string to clear it.SVNClientInterface.username(String)
public void setPrompt(PromptUserPassword prompt)
SVNClientInterface
--no-auth-cache
and --non-interactive
arguments
accepted by the command-line client.
setPrompt
in interface SVNClientInterface
prompt
- the callback interfacepublic LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd) throws ClientException
logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback)
instead.
SVNClientInterface
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to show
ClientException
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) throws ClientException
logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback)
instead.
SVNClientInterface
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operations
ClientException
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) throws ClientException
logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback)
instead.
SVNClientInterface
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsdiscoverPath
- returns the paths of the changed items in the
returned objects
ClientException
public LogMessage[] logMessages(String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) throws ClientException
logMessages(String, Revision, Revision, Revision,
boolean, boolean, boolean, String[],
long, LogMessageCallback)
instead.
SVNClientInterface
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.revisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsdiscoverPath
- returns the paths of the changed items in the
returned objectslimit
- limit the number of log messages (if 0 or less no
limit)
ClientException
public void logMessages(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, String[] revProps, long limit, LogMessageCallback callback) throws ClientException
logMessages(String, Revision, RevisionRange[],
boolean, boolean, boolean, String[],
long, LogMessageCallback)
instead.
SVNClientInterface
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.pegRevision
- revision to interpret pathrevisionStart
- first revision to showrevisionEnd
- last revision to showstopOnCopy
- do not continue on copy operationsdiscoverPath
- returns the paths of the changed items in the
returned objectsincludeMergedRevisions
- include log messages for revisions which
were merged.revProps
- the revprops to retrievelimit
- limit the number of log messages (if 0 or less no
limit)callback
- the object to receive the log messages
ClientException
public void logMessages(String path, Revision pegRevision, RevisionRange[] revisionRanges, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, String[] revProps, long limit, LogMessageCallback callback) throws ClientException
SVNClientInterface
logMessages
in interface SVNClientInterface
path
- path or url to get the log message for.pegRevision
- revision to interpret pathrevisionRanges
- an array of revision ranges to showstopOnCopy
- do not continue on copy operationsdiscoverPath
- returns the paths of the changed items in the
returned objectsincludeMergedRevisions
- include log messages for revisions which
were merged.revProps
- the revprops to retrievelimit
- limit the number of log messages (if 0 or less no
limit)callback
- the object to receive the log messages
ClientException
public long checkout(String moduleName, String destPath, Revision revision, boolean recurse) throws ClientException
checkout(String, String, Revision, Revision,
int, boolean, boolean)
instead.
SVNClientInterface
checkout
in interface SVNClientInterface
moduleName
- name of the module to checkout.destPath
- destination directory for checkout.revision
- the revision to checkout.recurse
- whether you want it to checkout files recursively.
ClientException
public long checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) throws ClientException
checkout(String, String, Revision, Revision,
int, boolean, boolean)
instead.
SVNClientInterface
checkout
in interface SVNClientInterface
moduleName
- name of the module to checkout.destPath
- destination directory for checkout.revision
- the revision to checkout.pegRevision
- the peg revision to interpret the pathrecurse
- whether you want it to checkout files recursively.ignoreExternals
- if externals are ignored during checkout
ClientException
public long checkout(String moduleName, String destPath, Revision revision, Revision pegRevision, int depth, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
SVNClientInterface
checkout
in interface SVNClientInterface
moduleName
- name of the module to checkout.destPath
- destination directory for checkout.revision
- the revision to checkout.pegRevision
- the peg revision to interpret the pathdepth
- how deep to checkout files recursively.ignoreExternals
- if externals are ignored during checkoutallowUnverObstructions
- allow unversioned paths that obstruct adds
ClientException
public void notification(Notify notify)
notification2(Notify2)
instead.
SVNClientInterface
notification
in interface SVNClientInterface
notify
- listener that the SVN library should call on many
file operations.public void notification2(Notify2 notify)
SVNClientInterface
notification2
in interface SVNClientInterface
notify
- listener that the SVN library should call on many
file operations.public void setConflictResolver(ConflictResolverCallback listener)
SVNClientInterface
setConflictResolver
in interface SVNClientInterface
listener
- The conflict resolution callback.public void setProgressListener(ProgressListener listener)
SVNClientInterface
setProgressListener
in interface SVNClientInterface
listener
- The progress callback.public void commitMessageHandler(CommitMessage messageHandler)
SVNClientInterface
commitMessageHandler
in interface SVNClientInterface
messageHandler
- callback for entering commit messages
if this is set the message parameter is ignored.public void remove(String[] path, String message, boolean force) throws ClientException
#remove(String[], String, boolean, boolean)
instead.
SVNClientInterface
remove
in interface SVNClientInterface
path
- path or url to be deletedmessage
- if path is a url, this will be the commit message.force
- delete even when there are local modifications.
ClientException
public void remove(String[] path, String message, boolean force, boolean keepLocal, Map revpropTable) throws ClientException
SVNClientInterface
remove
in interface SVNClientInterface
path
- path or url to be deletedmessage
- if path is a url, this will be the commit message.force
- delete even when there are local modifications.keepLocal
- only remove the paths from the repository.revpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
public void revert(String path, boolean recurse) throws ClientException
#revert(String, int)
instead.
SVNClientInterface
revert
in interface SVNClientInterface
path
- path of the file.recurse
- recurse into subdirectories
ClientException
public void revert(String path, int depth, String[] changelists) throws ClientException
SVNClientInterface
revert
in interface SVNClientInterface
path
- path of the file.depth
- the depth to recurse into subdirectorieschangelists
- changelists to filter by
ClientException
public void add(String path, boolean recurse) throws ClientException
add(String, int, boolean, boolean, boolean)
instead.
SVNClientInterface
add
in interface SVNClientInterface
path
- path to be added.recurse
- recurse into subdirectories
ClientException
public void add(String path, boolean recurse, boolean force) throws ClientException
add(String, int, boolean, boolean, boolean)
instead.
SVNClientInterface
add
in interface SVNClientInterface
path
- path to be added.recurse
- recurse into subdirectoriesforce
- if adding a directory and recurse true and path is a
directory, all not already managed files are added.
ClientException
public void add(String path, int depth, boolean force, boolean noIgnores, boolean addParents) throws ClientException
SVNClientInterface
add
in interface SVNClientInterface
path
- path to be added.depth
- the depth to recurse into subdirectoriesforce
- if adding a directory and recurse true and path is a
directory, all not already managed files are added.noIgnores
- if false, don't add files or directories matching
ignore patternsaddParents
- add any intermediate parents to the working copy
ClientException
public long update(String path, Revision revision, boolean recurse) throws ClientException
update(String, Revision, int, boolean,
boolean, boolean)
instead.
SVNClientInterface
update
in interface SVNClientInterface
path
- target file.revision
- the revision number to update.
Revision.HEAD will update to the
latest revision.recurse
- recursively update.
ClientException
public long[] update(String[] path, Revision revision, boolean recurse, boolean ignoreExternals) throws ClientException
update(String[], Revision, int, boolean,
boolean, boolean)
instead.
SVNClientInterface
update
in interface SVNClientInterface
path
- array of target files.revision
- the revision number to update.
Revision.HEAD will update to the
latest revision.recurse
- recursively update.ignoreExternals
- if externals are ignored during update
ClientException
public long update(String path, Revision revision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
SVNClientInterface
update
in interface SVNClientInterface
path
- target file.revision
- the revision number to update.
Revision.HEAD will update to the
latest revision.depth
- the depth to recursively update.depthIsSticky
- if set, and depth is not Depth.unknown
,
then also set the ambient depth value to depth.ignoreExternals
- if externals are ignored during updateallowUnverObstructions
- allow unversioned paths that obstruct adds
ClientException
public long[] update(String[] path, Revision revision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
SVNClientInterface
update
in interface SVNClientInterface
path
- array of target files.revision
- the revision number to update.
Revision.HEAD will update to the
latest revision.depth
- the depth to recursively update.depthIsSticky
- if set, and depth is not Depth.unknown
,
then also set the ambient depth value to depth.ignoreExternals
- if externals are ignored during updateallowUnverObstructions
- allow unversioned paths that obstruct adds
ClientException
public long commit(String[] path, String message, boolean recurse) throws ClientException
#commit(String[], String, int, boolean, boolean,
String[])
instead.
SVNClientInterface
commit
in interface SVNClientInterface
path
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.
Revision.SVN_INVALID_REVNUM
if the revision number is
invalid.
ClientException
public long commit(String[] path, String message, boolean recurse, boolean noUnlock) throws ClientException
#commit(String[], String, int, boolean, boolean,
String[])
instead.
SVNClientInterface
commit
in interface SVNClientInterface
path
- files to commit.message
- log message.recurse
- whether the operation should be done recursively.noUnlock
- do remove any locks
Revision.SVN_INVALID_REVNUM
if the revision number is
invalid.
ClientException
public long commit(String[] path, String message, int depth, boolean noUnlock, boolean keepChangelist, String[] changelists, Map revpropTable) throws ClientException
SVNClientInterface
commit
in interface SVNClientInterface
path
- files to commit.message
- log message.depth
- how deep to recurse in subdirectoriesnoUnlock
- do remove any lockskeepChangelist
- keep changelist associations after the commit.changelists
- if non-null, filter paths using changelistsrevpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
Revision.SVN_INVALID_REVNUM
if the revision number is
invalid.
ClientException
public void copy(CopySource[] sources, String destPath, String message, boolean copyAsChild, boolean makeParents, boolean ignoreExternals, Map revpropTable) throws ClientException
SVNClientInterface
copy
in interface SVNClientInterface
sources
- A list of CopySource
objects.destPath
- Destination path or URL.message
- Commit message. May be null
if
destPath
is not a URL.copyAsChild
- Whether to copy srcPaths
as
children of destPath
.makeParents
- Whether to create intermediate parentsignoreExternals
- Whether or not to process external definitions
as part of this operation.revpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
- If the copy operation fails.public void copy(CopySource[] sources, String destPath, String message, boolean copyAsChild, boolean makeParents, Map revpropTable) throws ClientException
copy(CopySource[], String, String, boolean,
boolean, boolean, Map)
instead.
SVNClientInterface
copy
in interface SVNClientInterface
sources
- A list of CopySource
objects.destPath
- Destination path or URL.message
- Commit message. May be null
if
destPath
is not a URL.copyAsChild
- Whether to copy srcPaths
as
children of destPath
.makeParents
- Whether to create intermediate parentsrevpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
- If the copy operation fails.public void copy(String srcPath, String destPath, String message, Revision revision) throws ClientException
copy(CopySource[], String, String, boolean,
boolean, boolean, Map)
instead.
SVNClientInterface
copyAsChild
behavior).
copy
in interface SVNClientInterface
srcPath
- source path or urldestPath
- destination path or urlmessage
- commit message if destPath is an urlrevision
- source revision
ClientException
public void move(String[] srcPaths, String destPath, String message, boolean force, boolean moveAsChild, boolean makeParents, Map revpropTable) throws ClientException
SVNClientInterface
move
in interface SVNClientInterface
srcPaths
- Source paths or URLs.destPath
- Destination path or URL.message
- Commit message. May be null
if
destPath
is not a URL.force
- Whether to perform the move even if local
modifications exist.moveAsChild
- Whether to move srcPaths
as
children of destPath
.makeParents
- Whether to create intermediate parents.revpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
- If the move operation fails.public void move(String srcPath, String destPath, String message, Revision revision, boolean force) throws ClientException
#move(String[], String, String, boolean, boolean,
boolean)
instead.
move
in interface SVNClientInterface
ClientException
public void move(String srcPath, String destPath, String message, boolean force) throws ClientException
#move(String[], String, String, boolean, boolean,
boolean)
instead.
SVNClientInterface
moveAsChild
behavior).
move
in interface SVNClientInterface
srcPath
- source path or urldestPath
- destination path or urlmessage
- commit message if destPath is an urlforce
- even with local modifications.
ClientException
public void mkdir(String[] path, String message, boolean makeParents, Map revpropTable) throws ClientException
SVNClientInterface
mkdir
in interface SVNClientInterface
path
- directories to be createdmessage
- commit message to used if path contains urlsmakeParents
- Whether to create intermediate parentsrevpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
public void mkdir(String[] path, String message) throws ClientException
#mkdir(String[], String, boolean)
instead.
SVNClientInterface
mkdir
in interface SVNClientInterface
path
- directories to be createdmessage
- commit message to used if path contains urls
ClientException
public void cleanup(String path) throws ClientException
SVNClientInterface
cleanup
in interface SVNClientInterface
path
- a local directory.
ClientException
public void resolve(String path, int depth, int conflictResult) throws SubversionException
SVNClientInterface
resolve
in interface SVNClientInterface
path
- The path to resolve.depth
- How deep to recurse into child paths.conflictResult
- Which version to choose in the event of a
conflict.
SubversionException
- If an error occurs.public void resolved(String path, boolean recurse) throws ClientException
resolve(String, int, int)
instead.
SVNClientInterface
resolved
in interface SVNClientInterface
ClientException
#resolved(String, int, int)
public long doExport(String srcPath, String destPath, Revision revision, boolean force) throws ClientException
doExport(String, String, Revision, Revision,
boolean, boolean, int, String)
instead.
SVNClientInterface
doExport
in interface SVNClientInterface
srcPath
- the url of the repository path to be exporteddestPath
- a destination path that must not already exist.revision
- the revsion to be exportedforce
- set if it is ok to overwrite local files
ClientException
public long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, String nativeEOL) throws ClientException
doExport(String, String, Revision, Revision,
boolean, boolean, int, String)
instead.
SVNClientInterface
doExport
in interface SVNClientInterface
srcPath
- the url of the repository path to be exporteddestPath
- a destination path that must not already exist.revision
- the revsion to be exportedpegRevision
- the revision to interpret srcPathforce
- set if it is ok to overwrite local filesignoreExternals
- ignore external during exportrecurse
- recurse to subdirectoriesnativeEOL
- which EOL characters to use during export
ClientException
public long doExport(String srcPath, String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, int depth, String nativeEOL) throws ClientException
SVNClientInterface
doExport
in interface SVNClientInterface
srcPath
- the url of the repository path to be exporteddestPath
- a destination path that must not already exist.revision
- the revsion to be exportedpegRevision
- the revision to interpret srcPathforce
- set if it is ok to overwrite local filesignoreExternals
- ignore external during exportdepth
- how deep to recurse in subdirectoriesnativeEOL
- which EOL characters to use during export
ClientException
public long doSwitch(String path, String url, Revision revision, Revision pegRevision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
SVNClientInterface
doSwitch
in interface SVNClientInterface
path
- the working copy pathurl
- the new url for the working copyrevision
- the new base revision of working copypegRevision
- the revision at which to interpret path
depth
- how deep to traverse into subdirectoriesdepthIsSticky
- if set, and depth is not Depth.unknown
,
then also set the ambient depth value to depth.ignoreExternals
- whether to process externals definitionsallowUnverObstructions
- allow unversioned paths that obstruct adds
ClientException
public long doSwitch(String path, String url, Revision revision, boolean recurse) throws ClientException
doSwitch(String, String, Revision, boolean)
instead.
SVNClientInterface
doSwitch
in interface SVNClientInterface
path
- the working copy pathurl
- the new url for the working copyrevision
- the new base revision of working copyrecurse
- traverse into subdirectories
ClientException
public void doImport(String path, String url, String message, boolean recurse) throws ClientException
#doImport(String, String, String, int, boolean,
boolean)
instead.
SVNClientInterface
doImport
in interface SVNClientInterface
path
- the local pathurl
- the target urlmessage
- the log message.recurse
- traverse into subdirectories
ClientException
public void doImport(String path, String url, String message, int depth, boolean noIgnore, boolean ignoreUnknownNodeTypes, Map revpropTable) throws ClientException
SVNClientInterface
doImport
in interface SVNClientInterface
path
- the local pathurl
- the target urlmessage
- the log message.depth
- depth to traverse into subdirectoriesnoIgnore
- whether to add files matched by ignore patternsignoreUnknownNodeTypes
- whether to ignore files which
the node type is not konwn, just as pipesrevpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
public String[] suggestMergeSources(String path, Revision pegRevision) throws SubversionException
SVNClientInterface
suggestMergeSources
in interface SVNClientInterface
path
- The merge target path for which to suggest sources.pegRevision
- Peg revision used to interpret path.
ClientException
- If an error occurs.
SubversionException
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse) throws ClientException
merge(String, Revision, String, Revision,
String, boolean, int, boolean,
boolean, boolean)
instead.
SVNClientInterface
merge
in interface SVNClientInterface
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectories
ClientException
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException
merge(String, Revision, String, Revision,
String, boolean, int, boolean,
boolean, boolean)
instead.
SVNClientInterface
merge
in interface SVNClientInterface
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectoriesignoreAncestry
- ignore if files are not relateddryRun
- do not change anything
ClientException
public void merge(String path1, Revision revision1, String path2, Revision revision2, String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException
SVNClientInterface
merge
in interface SVNClientInterface
path1
- first path or urlrevision1
- first revisionpath2
- second path or urlrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesdepth
- how deep to traverse into subdirectoriesignoreAncestry
- ignore if files are not relateddryRun
- do not change anythingrecordOnly
- record mergeinfo but do not run merge
ClientException
public void merge(String path, Revision pegRevision, Revision revision1, Revision revision2, String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException
merge(String, Revision, RevisionRange[],
String, boolean, int, boolean,
boolean, boolean)
instead.
SVNClientInterface
merge
in interface SVNClientInterface
path
- path or urlpegRevision
- revision to interpret pathrevision1
- first revisionrevision2
- second revisionlocalPath
- target local pathforce
- overwrite local changesrecurse
- traverse into subdirectoriesignoreAncestry
- ignore if files are not relateddryRun
- do not change anything
ClientException
public void merge(String path, Revision pegRevision, RevisionRange[] revisions, String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException
SVNClientInterface
merge
in interface SVNClientInterface
path
- path or urlpegRevision
- revision to interpret pathrevisions
- revisions to mergelocalPath
- target local pathforce
- overwrite local changesdepth
- how deep to traverse into subdirectoriesignoreAncestry
- ignore if files are not relateddryRun
- do not change anythingrecordOnly
- record mergeinfo but do not run merge
ClientException
public void mergeReintegrate(String path, Revision pegRevision, String localPath, boolean dryRun) throws ClientException
SVNClientInterface
mergeReintegrate
in interface SVNClientInterface
path
- path or urlpegRevision
- revision to interpret pathlocalPath
- target local pathdryRun
- do not change anything
ClientException
public Mergeinfo getMergeinfo(String path, Revision pegRevision) throws SubversionException
SVNClientInterface
path
at pegRevision
.
getMergeinfo
in interface SVNClientInterface
path
- WC path or URL.pegRevision
- peg revision at which to get the merge info for
path
.
path
.
SubversionException
public void getMergeinfoLog(int kind, String pathOrUrl, Revision pegRevision, String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, int depth, String[] revprops, LogMessageCallback callback) throws ClientException
SVNClientInterface
getMergeinfoLog
in interface SVNClientInterface
kind
- kind of revisions to receive:
See org.apache.subversion.javahl.MergeinfoLogKind
.pathOrUrl
- target of mergepegRevision
- peg rev for pathOrUrlmergeSourceUrl
- the source of the mergesrcPegRevision
- peg rev for mergeSourceUrldiscoverChangedPaths
- return paths of changed itemsdepth
- the depth to recurse torevprops
- the revprops to retrievecallback
- the object to receive the log messages
ClientException
public void getMergeinfoLog(int kind, String pathOrUrl, Revision pegRevision, String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, String[] revprops, LogMessageCallback callback) throws ClientException
getMergeinfoLog(int, String, Revision, String,
Revision, boolean, int,
String[], LogMessageCallback)
SVNClientInterface
getMergeinfoLog
in interface SVNClientInterface
kind
- kind of revisions to receive:
See org.apache.subversion.javahl.MergeinfoLogKind
.pathOrUrl
- target of mergepegRevision
- peg rev for pathOrUrlmergeSourceUrl
- the source of the mergesrcPegRevision
- peg rev for mergeSourceUrldiscoverChangedPaths
- return paths of changed itemsrevprops
- the revprops to retrievecallback
- the object to receive the log messages
ClientException
public void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse) throws ClientException
#diff(String, Revision, String, Revision,
String, String, int, boolean, boolean,
boolean)
instead.
SVNClientInterface
diff
in interface SVNClientInterface
target1
- first path or urlrevision1
- first revisiontarget2
- second path or urlrevision2
- second revisionoutFileName
- file name where difference are writtenrecurse
- traverse into subdirectories
ClientException
public void diff(String target1, Revision revision1, String target2, Revision revision2, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
#diff(String, Revision, String, Revision,
String, String, int, boolean, boolean,
boolean)
instead.
SVNClientInterface
diff
in interface SVNClientInterface
target1
- first path or urlrevision1
- first revisiontarget2
- second path or urlrevision2
- second revisionoutFileName
- file name where difference are writtenrecurse
- traverse into subdirectoriesignoreAncestry
- ignore if files are not relatednoDiffDeleted
- no output on deleted filesforce
- diff even on binary files
ClientException
public void diff(String target1, Revision revision1, String target2, Revision revision2, String relativeToDir, String outFileName, int depth, String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
#diff(String, Revision, String, Revision,
String, String, int, boolean, boolean,
boolean, boolean)
instead.
SVNClientInterface
diff
in interface SVNClientInterface
target1
- first path or urlrevision1
- first revisiontarget2
- second path or urlrevision2
- second revisionrelativeToDir
- index path is relative to this pathoutFileName
- file name where difference are writtendepth
- how deep to traverse into subdirectoriesignoreAncestry
- ignore if files are not relatednoDiffDeleted
- no output on deleted filesforce
- diff even on binary files
ClientException
public void diff(String target1, Revision revision1, String target2, Revision revision2, String relativeToDir, String outFileName, int depth, String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds) throws ClientException
SVNClientInterface
diff
in interface SVNClientInterface
target1
- first path or urlrevision1
- first revisiontarget2
- second path or urlrevision2
- second revisionrelativeToDir
- index path is relative to this pathoutFileName
- file name where difference are writtendepth
- how deep to traverse into subdirectoriesignoreAncestry
- ignore if files are not relatednoDiffDeleted
- no output on deleted filesforce
- diff even on binary filescopiesAsAdds
- if set, copied files will be shown in their
entirety, not as diffs from their sources
ClientException
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
#diff(String, Revision, Revision, Revision,
String, String, int, boolean, boolean,
boolean)
instead.
SVNClientInterface
diff
in interface SVNClientInterface
target
- path or urlpegRevision
- revision tointerpret targetstartRevision
- first Revision to compareendRevision
- second Revision to compareoutFileName
- file name where difference are writtenrecurse
- traverse into subdirectoriesignoreAncestry
- ignore if files are not relatednoDiffDeleted
- no output on deleted filesforce
- diff even on binary files
ClientException
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String relativeToDir, String outFileName, int depth, String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
#diff(String, Revision, Revision, Revision,
String, String, int, boolean, boolean,
boolean, boolean)
instead.
SVNClientInterface
diff
in interface SVNClientInterface
target
- path or urlpegRevision
- revision tointerpret targetstartRevision
- first Revision to compareendRevision
- second Revision to comparerelativeToDir
- index path is relative to this pathoutFileName
- file name where difference are writtendepth
- how deep to traverse into subdirectorieschangelists
- if non-null, filter paths using changelistsignoreAncestry
- ignore if files are not relatednoDiffDeleted
- no output on deleted filesforce
- diff even on binary files
ClientException
public void diff(String target, Revision pegRevision, Revision startRevision, Revision endRevision, String relativeToDir, String outFileName, int depth, String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds) throws ClientException
SVNClientInterface
diff
in interface SVNClientInterface
target
- path or urlpegRevision
- revision tointerpret targetstartRevision
- first Revision to compareendRevision
- second Revision to comparerelativeToDir
- index path is relative to this pathoutFileName
- file name where difference are writtendepth
- how deep to traverse into subdirectorieschangelists
- if non-null, filter paths using changelistsignoreAncestry
- ignore if files are not relatednoDiffDeleted
- no output on deleted filesforce
- diff even on binary filescopiesAsAdds
- if set, copied files will be shown in their
entirety, not as diffs from their sources
ClientException
public void diffSummarize(String target1, Revision revision1, String target2, Revision revision2, int depth, String[] changelists, boolean ignoreAncestry, DiffSummaryReceiver receiver) throws ClientException
SVNClientInterface
diffSummarize
in interface SVNClientInterface
target1
- Path or URL.revision1
- Revision of target1
.target2
- Path or URL.revision2
- Revision of target2
.depth
- how deep to recurse.changelists
- if non-null, filter paths using changelistsignoreAncestry
- 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.receiver
- As each is difference is found, this callback
is invoked with a description of the difference.
ClientException
public void diffSummarize(String target, Revision pegRevision, Revision startRevision, Revision endRevision, int depth, String[] changelists, boolean ignoreAncestry, DiffSummaryReceiver receiver) throws ClientException
SVNClientInterface
diffSummarize
in interface SVNClientInterface
target
- Path or URL.pegRevision
- Revision at which to interpret
target
. If RevisionKind.unspecified
or
null
, behave identically to #diffSummarize(String, Revision, String, Revision, int,
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.changelists
- if non-null, filter paths using changelistsignoreAncestry
- 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.receiver
- As each is difference is found, this callback
is invoked with a description of the difference.
ClientException
public PropertyData[] properties(String path) throws ClientException
#properties(String, Revision, Revision,
int, ProplistCallback)
instead.
SVNClientInterface
properties
in interface SVNClientInterface
path
- the path of the item
ClientException
public PropertyData[] properties(String path, Revision revision) throws ClientException
#properties(String, Revision, Revision,
int, ProplistCallback)
instead.
SVNClientInterface
properties
in interface SVNClientInterface
path
- the path of the itemrevision
- the revision of the item
ClientException
public PropertyData[] properties(String path, Revision revision, Revision pegRevision) throws ClientException
#properties(String, Revision, Revision,
int, ProplistCallback)
instead.
SVNClientInterface
properties
in interface SVNClientInterface
path
- the path of the itemrevision
- the revision of the itempegRevision
- the revision to interpret path
ClientException
public void properties(String path, Revision revision, Revision pegRevision, int depth, String[] changelists, ProplistCallback callback) throws ClientException
SVNClientInterface
properties
in interface SVNClientInterface
path
- the path of the itemrevision
- the revision of the itempegRevision
- the revision to interpret pathdepth
- the depth to recurse into subdirectorieschangelists
- changelists to filter bycallback
- the callback to use to return the properties
ClientException
public void propertySet(String path, String name, String value, boolean recurse) throws ClientException
#propertySet(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertySet(String path, String name, String value, boolean recurse, boolean force) throws ClientException
#propertySet(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectoriesforce
- do not check if the value is valid
ClientException
public void propertySet(String path, String name, byte[] value, boolean recurse) throws ClientException
#propertySet(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertySet(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException
#propertySet(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectoriesforce
- do not check if the value is valid
ClientException
public void propertySet(String path, String name, String value, int depth, String[] changelists, boolean force, Map revpropTable) throws ClientException
SVNClientInterface
propertySet
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertydepth
- the depth to recurse into subdirectorieschangelists
- changelists to filter byforce
- do not check if the value is validrevpropTable
- A string-to-string mapping of revision properties
to values which will be set if this operation
results in a commit.
ClientException
public void propertyRemove(String path, String name, boolean recurse) throws ClientException
#propertyRemove(String, String, int)
instead.
SVNClientInterface
propertyRemove
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrecurse
- remove the property also on subdirectories
ClientException
public void propertyRemove(String path, String name, int depth, String[] changelists) throws ClientException
SVNClientInterface
propertyRemove
in interface SVNClientInterface
path
- path of the itemname
- name of the propertydepth
- the depth to recurse into subdirectorieschangelists
- changelists to filter by
ClientException
public void propertyCreate(String path, String name, String value, boolean recurse) throws ClientException
#propertyCreate(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertyCreate(String path, String name, String value, boolean recurse, boolean force) throws ClientException
#propertyCreate(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectoriesforce
- do not check if the value is valid
ClientException
public void propertyCreate(String path, String name, byte[] value, boolean recurse) throws ClientException
#propertyCreate(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectories
ClientException
public void propertyCreate(String path, String name, byte[] value, boolean recurse, boolean force) throws ClientException
#propertyCreate(String, String, String, int,
boolean)
instead.
SVNClientInterface
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertyrecurse
- set property also on the subdirectoriesforce
- do not check if the value is valid
ClientException
public void propertyCreate(String path, String name, String value, int depth, String[] changelists, boolean force) throws ClientException
SVNClientInterface
propertyCreate
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyvalue
- new value of the propertydepth
- depth to set property on the subdirectorieschangelists
- changelists to filter byforce
- do not check if the value is valid
ClientException
public PropertyData revProperty(String path, String name, Revision rev) throws ClientException
SVNClientInterface
revProperty
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrev
- revision to retrieve
ClientException
public PropertyData[] revProperties(String path, Revision rev) throws ClientException
SVNClientInterface
revProperties
in interface SVNClientInterface
path
- path of the itemrev
- revision to retrieve
ClientException
public void setRevProperty(String path, String name, Revision rev, String value, boolean force) throws ClientException
SVNClientInterface
setRevProperty
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrev
- revision to retrievevalue
- value of the propertyforce
- use force to set
ClientException
public void setRevProperty(String path, String name, Revision rev, String value, String originalValue, boolean force) throws ClientException
SVNClientInterface
setRevProperty
in interface SVNClientInterface
path
- path of the itemname
- name of the propertyrev
- revision to retrievevalue
- value of the propertyoriginalValue
- the original value of the property.force
- use force to set
ClientException
public PropertyData propertyGet(String path, String name) throws ClientException
propertyGet(String, String, Revision)
instead.
SVNClientInterface
propertyGet
in interface SVNClientInterface
path
- path of the itemname
- name of property
ClientException
public PropertyData propertyGet(String path, String name, Revision revision) throws ClientException
SVNClientInterface
propertyGet
in interface SVNClientInterface
path
- path of the itemname
- name of propertyrevision
- revision of the item
ClientException
public PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException
SVNClientInterface
propertyGet
in interface SVNClientInterface
path
- path of the itemname
- name of propertyrevision
- revision of the itempegRevision
- the revision to interpret path
ClientException
public byte[] fileContent(String path, Revision revision) throws ClientException
fileContent(String, Revision, Revision)
instead.
SVNClientInterface
fileContent
in interface SVNClientInterface
path
- the path of the filerevision
- the revision to retrieve
ClientException
public byte[] fileContent(String path, Revision revision, Revision pegRevision) throws ClientException
SVNClientInterface
fileContent
in interface SVNClientInterface
path
- the path of the filerevision
- the revision to retrievepegRevision
- the revision to interpret path
ClientException
public void streamFileContent(String path, Revision revision, Revision pegRevision, int bufferSize, OutputStream stream) throws ClientException
SVNClientInterface
streamFileContent
in interface SVNClientInterface
path
- the path of the filerevision
- the revision to retrievepegRevision
- the revision at which to interpret the pathstream
- the stream to write the file's content to
ClientException
PipedOutputStream
,
PipedInputStream
public void relocate(String from, String to, String path, boolean recurse) throws ClientException
SVNClientInterface
relocate
in interface SVNClientInterface
from
- old urlto
- new urlpath
- working copy pathrecurse
- recurse into subdirectories
ClientException
public byte[] blame(String path, Revision revisionStart, Revision revisionEnd) throws ClientException
blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback2)
instead.
SVNClientInterface
blame
in interface SVNClientInterface
path
- the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to show
ClientException
public void blame(String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException
blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback2)
instead.
SVNClientInterface
blame
in interface SVNClientInterface
path
- the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to showcallback
- callback to receive the file content and the other
information
ClientException
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException
blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback2)
instead.
SVNClientInterface
blame
in interface SVNClientInterface
path
- the pathpegRevision
- the revision to interpret the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to showcallback
- callback to receive the file content and the other
information
ClientException
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback2 callback) throws ClientException
blame(String, Revision, Revision, Revision,
boolean, boolean, BlameCallback3)
instead.
SVNClientInterface
blame
in interface SVNClientInterface
path
- the pathpegRevision
- the revision to interpret the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to showignoreMimeType
- whether or not to ignore the mime-typeincludeMergedRevisions
- whether or not to include extra merge
informationcallback
- callback to receive the file content and the other
information
ClientException
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback3 callback) throws ClientException
SVNClientInterface
blame
in interface SVNClientInterface
path
- the pathpegRevision
- the revision to interpret the pathrevisionStart
- the first revision to showrevisionEnd
- the last revision to showignoreMimeType
- whether or not to ignore the mime-typeincludeMergedRevisions
- whether or not to include extra merge
informationcallback
- callback to receive the file content and the other
information
ClientException
public void setConfigDirectory(String configDir) throws ClientException
SVNClientInterface
null
value will override lookup of
configuration in the registry.
setConfigDirectory
in interface SVNClientInterface
configDir
- Path of the directory, or null
for the platform's default.
ClientException
public String getConfigDirectory() throws ClientException
SVNClientInterface
getConfigDirectory
in interface SVNClientInterface
ClientException
public void cancelOperation() throws ClientException
SVNClientInterface
cancelOperation
in interface SVNClientInterface
ClientException
public Info info(String path) throws ClientException
#info2(String, Revision, Revision, int,
InfoCallback)
instead.
SVNClientInterface
info
in interface SVNClientInterface
path
- path of the item
ClientException
public void addToChangelist(String[] paths, String changelist, int depth, String[] changelists) throws ClientException
SVNClientInterface
addToChangelist
in interface SVNClientInterface
paths
- paths to add to the changelistchangelist
- changelist namedepth
- the depth to recursechangelists
- changelists to filter by
ClientException
public void removeFromChangelists(String[] paths, int depth, String[] changelists) throws ClientException
SVNClientInterface
removeFromChangelists
in interface SVNClientInterface
paths
- paths to remove from the changelistdepth
- the depth to recursechangelists
- changelists to filter by
ClientException
public void getChangelists(String rootPath, String[] changelists, int depth, ChangelistCallback callback) throws ClientException
SVNClientInterface
getChangelists
in interface SVNClientInterface
rootPath
- the wc path under which to checkchangelists
- the changelists to look underdepth
- the depth to recursecallback
- the callback to return the changelists through
ClientException
public void lock(String[] path, String comment, boolean force) throws ClientException
SVNClientInterface
lock
in interface SVNClientInterface
path
- path of the itemforce
- break an existing lock
ClientException
public void unlock(String[] path, boolean force) throws ClientException
SVNClientInterface
unlock
in interface SVNClientInterface
path
- path of the itemforce
- break an existing lock
ClientException
public Info2[] info2(String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException
#info2(String, Revision, Revision, int,
InfoCallback)
instead.
SVNClientInterface
info2
in interface SVNClientInterface
pathOrUrl
- the path or the url of the itemrevision
- the revision of the item to returnpegRevision
- the revision to interpret pathOrUrlrecurse
- flag if to recurse, if the item is a directory
ClientException
public void info2(String pathOrUrl, Revision revision, Revision pegRevision, int depth, String[] changelists, InfoCallback callback) throws ClientException
SVNClientInterface
info2
in interface SVNClientInterface
pathOrUrl
- the path or the url of the itemrevision
- the revision of the item to returnpegRevision
- the revision to interpret pathOrUrldepth
- the depth to recursechangelists
- if non-null, filter paths using changelistscallback
- a callback to receive the infos retrieved
ClientException
public String getVersionInfo(String path, String trailUrl, boolean lastChanged) throws ClientException
SVNClientInterface
getVersionInfo
in interface SVNClientInterface
path
- path of the working copytrailUrl
- to detect switches of the whole working copylastChanged
- last changed rather than current revisions
ClientException
public void upgrade(String path) throws ClientException
SVNClientInterface
upgrade
in interface SVNClientInterface
path
- path of the working copy
ClientException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |