Class SVNClientImpl

java.lang.Object
org.tmatesoft.svn.core.javahl.SVNClientImpl
All Implemented Interfaces:
SVNClientInterface

public class SVNClientImpl extends java.lang.Object implements SVNClientInterface
Version:
1.3
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
    private boolean
     
     
    private java.lang.String
     
     
     
     
    private Notify
    Deprecated. 
    private Notify2
     
     
     
    private java.lang.String
     
     
     
     
     
    private java.lang.String
     
     
    private static int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    SVNClientImpl(SVNClient owner, IHTTPConnectionFactory httpConnectionFactory, ISVNConnectorFactory svnConnectorFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(java.lang.String path, boolean recurse)
    Adds a file to the repository.
    void
    add(java.lang.String path, boolean recurse, boolean force)
    Adds a file to the repository.
    void
    add(java.lang.String path, int depth, boolean force, boolean noIgnores, boolean addParents)
    Adds a file to the repository.
    void
    addToChangelist(java.lang.String[] paths, java.lang.String changelist, int depth, java.lang.String[] changelists)
    Add paths to a changelist
    byte[]
    blame(java.lang.String path, Revision revisionStart, Revision revisionEnd)
    Return for each line of the file, the author and the revision of the last together with the content.
    void
    blame(java.lang.String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback)
    Retrieve the content together with the author, the revision and the date of the last change of each line
    void
    blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback2 callback)
    Retrieve the content together with the author, the revision and the date of the last change of each line
    void
    blame(java.lang.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
    private void
    blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, ISVNAnnotateHandler handler)
     
    void
    blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback)
    Retrieve the content together with the author, the revision and the date of the last change of each line
    void
    cancel the active operation
    long
    checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, boolean recurse)
    Executes a revision checkout.
    long
    checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals)
    Executes a revision checkout.
    long
    checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, Revision pegRevision, int depth, boolean ignoreExternals, boolean allowUnverObstructions)
    Executes a revision checkout.
    void
    cleanup(java.lang.String path)
    Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
    long
    commit(java.lang.String[] path, java.lang.String message, boolean recurse)
    Commits changes to the repository.
    long
    commit(java.lang.String[] path, java.lang.String message, boolean recurse, boolean noUnlock)
    Commits changes to the repository.
    long[]
    commit(java.lang.String[] path, java.lang.String message, boolean recurse, boolean noUnlock, boolean atomicCommit)
     
    long
    commit(java.lang.String[] path, java.lang.String message, int depth, boolean noUnlock, boolean keepChangelist, java.lang.String[] changelists, java.util.Map revprops)
    Commits changes to the repository.
    long[]
    commit(java.lang.String[] path, java.lang.String message, int depth, boolean noUnlock, boolean keepChangelist, java.lang.String[] changlelists, java.util.Map revprops, boolean atomicCommit)
     
    void
    Sets the commit message handler.
    void
    copy(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, Revision revision)
    Copy versioned paths with the history preserved (with copyAsChild behavior).
    void
    copy(CopySource[] sources, java.lang.String destPath, java.lang.String message, boolean copyAsChild, boolean makeParents, boolean ignoreExternals, java.util.Map revpropTable)
    Copy versioned paths with the history preserved.
    void
    copy(CopySource[] sources, java.lang.String destPath, java.lang.String message, boolean copyAsChild, boolean makeParents, java.util.Map revprops)
    Copy versioned paths with the history preserved.
    private void
    copyOrMove(SVNCopySource[] sources, java.lang.String destPath, boolean isMove, java.lang.String message, boolean copyAsChild, boolean makeParents, java.util.Map revprops)
     
    createCommitMessageHandler(boolean isURLsOnly)
     
    createCommitMessageHandler(boolean isURLsOnly, boolean isImport)
     
    void
    diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String outFileName, boolean recurse)
    Display the differences between two paths
    void
    diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    Display the differences between two paths
    void
    diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    Display the differences between two paths
    void
    diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds)
    Display the differences between two paths
    void
    diff(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, java.lang.String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    Display the differences between two paths.
    void
    diff(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force)
    Display the differences between two paths.
    void
    diff(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds)
    Display the differences between two paths.
    void
    diffSummarize(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, int depth, java.lang.String[] changelists, boolean ignoreAncestry, DiffSummaryReceiver receiver)
    Produce a diff summary which lists the items changed between path and revision pairs.
    void
    diffSummarize(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, int depth, java.lang.String[] changelists, boolean ignoreAncestry, DiffSummaryReceiver receiver)
    Produce a diff summary which lists the items changed between path and revision pairs.
    void
    release the native peer (should not depend on finalize)
    long
    doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, boolean force)
    Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
    long
    doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, java.lang.String nativeEOL)
    Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
    long
    doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, int depth, java.lang.String nativeEOL)
    Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
    void
    doImport(java.lang.String path, java.lang.String url, java.lang.String message, boolean recurse)
    Import a file or directory into a repository directory at head.
    void
    doImport(java.lang.String path, java.lang.String url, java.lang.String message, int depth, boolean noIgnore, boolean ignoreUnknownNodeTypes, java.util.Map revprops)
    Import a file or directory into a repository directory at head.
    long
    doSwitch(java.lang.String path, java.lang.String url, Revision revision, boolean recurse)
    Update local copy to mirror a new url.
    long
    doSwitch(java.lang.String path, java.lang.String url, Revision revision, Revision pegRevision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions)
    Update local copy to mirror a new url.
    static void
    enableLogging(int logLevel, java.lang.String logFilePath)
     
    byte[]
    fileContent(java.lang.String path, Revision revision)
    Retrieve the content of a file
    byte[]
    fileContent(java.lang.String path, Revision revision, Revision pegRevision)
    Retrieve the content of a file
    java.lang.String
     
     
    void
    getChangelists(java.lang.String rootPath, java.lang.String[] changelists, int depth, ChangelistCallback callback)
    Recursively get the paths which belong to a changelist
     
     
    protected CommitMessage
     
    java.lang.String
    Get the configuration directory
     
    private SVNCopySource[]
    getCopySources(java.lang.String[] srcPaths, boolean copyAsChild)
     
    private SVNCopySource[]
    getCopySources(CopySource[] srcs, boolean copyAsChild)
     
     
    private static java.io.File
    getDiffBasePath(java.lang.String relativePath)
     
     
    java.lang.String
    Returns the last destination path submitted.
    getMergeinfo(java.lang.String path, Revision revision)
    Get mergeinfo for path at pegRevision.
    void
    getMergeinfoLog(int kind, java.lang.String pathOrUrl, Revision pegRevision, java.lang.String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, int depth, java.lang.String[] revProps, LogMessageCallback callback)
    Retrieve either merged or eligible-to-be-merged revisions.
    void
    getMergeinfoLog(int kind, java.lang.String pathOrUrl, Revision pegRevision, java.lang.String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, java.lang.String[] revprops, LogMessageCallback callback)
    Retrieve either merged or eligible-to-be-merged revisions.
    protected Notify
    Deprecated. 
    protected Notify2
     
     
     
    protected SVNCommitClient
     
    protected SVNCopyClient
     
    protected SVNDiffClient
     
    protected SVNLogClient
     
    protected SVNStatusClient
     
    protected SVNUpdateClient
     
    protected SVNWCClient
     
     
    java.lang.String
    getVersionInfo(java.lang.String path, java.lang.String trailUrl, boolean lastChanged)
    Produce a compact "version number" for a working copy
    info(java.lang.String path)
    Retrieves the working copy information for an item
    info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse)
    Retrieve information about repository or working copy items.
    void
    info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, int depth, java.lang.String[] changelists, InfoCallback callback)
    Retrieve information about repository or working copy items.
    private void
    info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, int depth, java.lang.String[] changelists, ISVNInfoHandler handler)
     
    boolean
    isAdminDirectory(java.lang.String name)
     
    protected static boolean
    isURL(java.lang.String pathOrUrl)
     
    list(java.lang.String url, Revision revision, boolean recurse)
    Lists the directory entries of a url on the server.
    list(java.lang.String url, Revision revision, Revision pegRevision, boolean recurse)
    Lists the directory entries of a url on the server.
    void
    list(java.lang.String url, Revision revision, Revision pegRevision, int depth, int direntFields, boolean fetchLocks, ListCallback callback)
    Lists the directory entries of a url on the server.
    private void
    list(java.lang.String url, Revision revision, Revision pegRevision, int depth, int direntFields, boolean fetchLocks, ISVNDirEntryHandler handler)
     
    void
    lock(java.lang.String[] path, java.lang.String comment, boolean force)
    Lock a working copy item
    logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd)
    Retrieve the log messages for an item
    logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy)
    Retrieve the log messages for an item
    logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath)
    Retrieve the log messages for an item
    logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit)
    Retrieve the log messages for an item
    void
    logMessages(java.lang.String path, Revision pegRevision, RevisionRange[] ranges, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, java.lang.String[] revProps, long limit, LogMessageCallback callback)
    Retrieve the log messages for an item.
    void
    logMessages(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, java.lang.String[] revProps, long limit, LogMessageCallback callback)
    Retrieve the log messages for an item.
    private void
    logMessages(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, boolean includeMergeInfo, java.lang.String[] revisionProperties, long limit, ISVNLogEntryHandler logEntryHandler)
     
    void
    merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, boolean recurse)
    Merge changes from two paths into a new local path.
    void
    merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun)
    Merge changes from two paths into a new local path.
    void
    merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly)
    Merge changes from two paths into a new local path.
    private void
    merge(java.lang.String path, Revision pegRevision, java.util.List rangesToMerge, java.lang.String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly)
     
    void
    merge(java.lang.String path, Revision pegRevision, RevisionRange[] revisions, java.lang.String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly)
    Merge set of revisions into a new local path.
    void
    merge(java.lang.String path, Revision pegRevision, Revision revision1, Revision revision2, java.lang.String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun)
    Merge changes from two paths into a new local path.
    void
    mergeReintegrate(java.lang.String path, Revision pegRevision, java.lang.String localPath, boolean dryRun)
    Perform a reintegration merge of path into localPath.
    void
    mkdir(java.lang.String[] path, java.lang.String message)
    Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
    void
    mkdir(java.lang.String[] path, java.lang.String message, boolean makeParents, java.util.Map revprops)
    Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
    void
    move(java.lang.String[] srcPaths, java.lang.String destPath, java.lang.String message, boolean force, boolean moveAsChild, boolean makeParents, java.util.Map revprops)
    Move or rename versioned paths.
    void
    move(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, boolean force)
    Move or rename versioned paths (with moveAsChild behavior).
    void
    move(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, Revision revision, boolean force)
     
     
     
    newInstance(SVNClient owner, IHTTPConnectionFactory httpConnectionFactory, ISVNConnectorFactory svnConnectorFactory)
     
    newInstance(SVNClient owner, IHTTPConnectionFactory httpConnectionFactory, ISVNConnectorFactory svnConnectorFactory, boolean trackClient)
     
    void
    Deprecated. 
    void
    Sets the notification callback used to send processing information back to the calling program.
    void
    password(java.lang.String password)
    Sets the password used for authentication.
    properties(java.lang.String path)
    Retrieves the properties of an item
    properties(java.lang.String path, Revision revision)
    Retrieves the properties of an item
    properties(java.lang.String path, Revision revision, Revision pegRevision)
    Retrieves the properties of an item
    void
    properties(java.lang.String path, Revision revision, Revision pegRevision, int depth, java.lang.String[] changelists, ProplistCallback callback)
    Retrieves the properties of an item
    private PropertyData[]
    properties(java.lang.String path, Revision revision, Revision pegRevision, SVNDepth depth, java.lang.String[] changelists)
     
    void
    propertyCreate(java.lang.String path, java.lang.String name, byte[] value, boolean recurse)
    Create and sets one property of an item with a byte array value
    void
    propertyCreate(java.lang.String path, java.lang.String name, byte[] value, boolean recurse, boolean force)
    Create and sets one property of an item with a byte array value
    void
    propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse)
    Create and sets one property of an item with a String value
    void
    propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse, boolean force)
    Create and sets one property of an item with a String value
    void
    propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, int depth, java.lang.String[] changelists, boolean force)
    Create and sets one property of an item with a byte array value
    private void
    propertyCreate(java.lang.String path, java.lang.String name, SVNPropertyValue value, int depth, java.lang.String[] changelists, boolean force)
     
    propertyGet(java.lang.String path, java.lang.String name)
    Retrieve one property of one item
    propertyGet(java.lang.String path, java.lang.String name, Revision revision)
    Retrieve one property of one item
    propertyGet(java.lang.String path, java.lang.String name, Revision revision, Revision pegRevision)
    Retrieve one property of one item
    void
    propertyRemove(java.lang.String path, java.lang.String name, boolean recurse)
    Remove one property of an item.
    void
    propertyRemove(java.lang.String path, java.lang.String name, int depth, java.lang.String[] changelists)
    Remove one property of an item.
    void
    propertySet(java.lang.String path, java.lang.String name, byte[] value, boolean recurse)
    Sets one property of an item with a byte array value
    void
    propertySet(java.lang.String path, java.lang.String name, byte[] value, boolean recurse, boolean force)
    Sets one property of an item with a byte array value
    void
    propertySet(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse)
    Sets one property of an item with a String value
    void
    propertySet(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse, boolean force)
    Sets one property of an item with a String value
    void
    propertySet(java.lang.String path, java.lang.String name, java.lang.String value, int depth, java.lang.String[] changelists, boolean force, java.util.Map revprops)
    Sets one property of an item with a String value
    private void
    propertySet(java.lang.String path, java.lang.String name, SVNPropertyValue value, int depth, boolean force, java.lang.String[] changelists, java.util.Map revprops)
     
    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.lang.String[] path, java.lang.String message, boolean force)
    Sets a file for deletion.
    void
    remove(java.lang.String[] path, java.lang.String message, boolean force, boolean keepLocal, java.util.Map revprops)
    Sets a file for deletion.
    void
    removeFromChangelists(java.lang.String[] paths, int depth, java.lang.String[] changelists)
    Remove paths from a changelist
    private void
     
    void
    resolve(java.lang.String path, int depth, int conflictResult)
    Resolves the conflicted state on a WC path (or tree).
    void
    resolved(java.lang.String path, boolean recurse)
    Removes the conflicted state on a WC path (or tree).
    void
    revert(java.lang.String path, boolean recurse)
    Reverts a file to a pristine state.
    void
    revert(java.lang.String path, int depth, java.lang.String[] changelists)
    Reverts a file to a pristine state.
    revProperties(java.lang.String path, Revision rev)
    Retrieve all revsision properties of one item
    revProperty(java.lang.String path, java.lang.String name, Revision rev)
    Retrieve one revsision property of one item
    void
     
    void
    setConfigDirectory(java.lang.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
    Set the conflict resolution callback.
    void
    Set the progress callback.
    void
    Register callback interface to supply username and password on demand.
    void
    setRevProperty(java.lang.String path, java.lang.String name, Revision rev, java.lang.String value, boolean force)
    set one revsision property of one item
    void
    setRevProperty(java.lang.String path, java.lang.String name, Revision rev, java.lang.String value, java.lang.String originalValue, boolean force)
    set one revsision property of one item
    static void
     
    singleStatus(java.lang.String path, boolean onServer)
    Returns the status of a single file in the path.
    status(java.lang.String path, boolean descend, boolean onServer, boolean getAll)
    List a directory or file of the working copy.
    status(java.lang.String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore)
    List a directory or file of the working copy.
    status(java.lang.String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals)
    List a directory or file of the working copy.
    void
    status(java.lang.String path, int depth, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals, java.lang.String[] changelists, StatusCallback callback)
    List a directory or file of the working copy.
    private void
    status(java.lang.String path, int depth, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals, java.lang.String[] changelists, ISVNStatusHandler handler)
     
    void
    streamFileContent(java.lang.String path, Revision revision, Revision pegRevision, int bufferSize, java.io.OutputStream stream)
    Write the file's content to the specified output stream.
    java.lang.String[]
    suggestMergeSources(java.lang.String path, Revision pegRevision)
    Return an ordered list of suggested merge source URLs.
    protected void
     
    void
    unlock(java.lang.String[] path, boolean force)
    Unlock a working copy item
    long[]
    update(java.lang.String[] path, Revision revision, boolean recurse, boolean ignoreExternals)
    Updates the directories or files from repository
    long[]
    update(java.lang.String[] path, Revision revision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions)
    Updates the directories or files from repository
    long
    update(java.lang.String path, Revision revision, boolean recurse)
    Updates the directory or file from repository
    long
    update(java.lang.String path, Revision revision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions)
    Updates the directory or file from repository
    private void
     
    void
    upgrade(java.lang.String path)
    Recursively upgrade a working copy to a new metadata storage format.
    void
    username(java.lang.String username)
    Sets the username used for authentication.
    static java.lang.String
     
    static int
     
    static int
     
    static int
     
    static long
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • newInstance

      public static SVNClientImpl newInstance()
    • newInstance

      public static SVNClientImpl newInstance(SVNClient owner)
    • newInstance

      public static SVNClientImpl newInstance(SVNClient owner, IHTTPConnectionFactory httpConnectionFactory, ISVNConnectorFactory svnConnectorFactory)
    • newInstance

      public static SVNClientImpl newInstance(SVNClient owner, IHTTPConnectionFactory httpConnectionFactory, ISVNConnectorFactory svnConnectorFactory, boolean trackClient)
    • getRuntimeCredentialsStorage

      public static ISVNAuthenticationStorage getRuntimeCredentialsStorage()
    • setRuntimeCredentialsStorage

      public static void setRuntimeCredentialsStorage(ISVNAuthenticationStorage storage)
    • getClientCredentialsStorage

      public ISVNAuthenticationStorage getClientCredentialsStorage()
    • setClientCredentialsStorage

      public void setClientCredentialsStorage(ISVNAuthenticationStorage storage)
    • getDebugLog

      public ISVNDebugLog getDebugLog()
    • getLastPath

      public java.lang.String getLastPath()
      Description copied from interface: SVNClientInterface
      Returns the last destination path submitted.
      Specified by:
      getLastPath in interface SVNClientInterface
      Returns:
      path in Subversion format.
    • status

      public Status[] status(java.lang.String path, boolean descend, boolean onServer, boolean getAll) throws ClientException
      Description copied from interface: SVNClientInterface
      List a directory or file of the working copy.
      Specified by:
      status in interface SVNClientInterface
      Parameters:
      path - Path to explore.
      descend - Recurse into subdirectories if they exist.
      onServer - Request status information from server.
      getAll - get status for uninteresting (unchanged) files.
      Returns:
      Array of Status entries.
      Throws:
      ClientException
    • status

      public Status[] status(java.lang.String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore) throws ClientException
      Description copied from interface: SVNClientInterface
      List a directory or file of the working copy.
      Specified by:
      status in interface SVNClientInterface
      Parameters:
      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.
      Returns:
      Array of Status entries.
      Throws:
      ClientException
    • status

      public Status[] status(java.lang.String path, boolean descend, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals) throws ClientException
      Description copied from interface: SVNClientInterface
      List a directory or file of the working copy.
      Specified by:
      status in interface SVNClientInterface
      Parameters:
      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
      Returns:
      Array of Status entries.
      Throws:
      ClientException
    • status

      public void status(java.lang.String path, int depth, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals, java.lang.String[] changelists, StatusCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      List a directory or file of the working copy.
      Specified by:
      status in interface SVNClientInterface
      Parameters:
      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 status
      changelists - changelists to filter by
      Throws:
      ClientException
    • status

      private void status(java.lang.String path, int depth, boolean onServer, boolean getAll, boolean noIgnore, boolean ignoreExternals, java.lang.String[] changelists, ISVNStatusHandler handler) throws ClientException
      Throws:
      ClientException
    • singleStatus

      public Status singleStatus(java.lang.String path, boolean onServer) throws ClientException
      Description copied from interface: SVNClientInterface
      Returns the status of a single file in the path.
      Specified by:
      singleStatus in interface SVNClientInterface
      Parameters:
      path - File to gather status.
      onServer - Request status information from the server.
      Returns:
      The Subversion status of the file, or null if no status is available.
      Throws:
      ClientException
    • list

      public DirEntry[] list(java.lang.String url, Revision revision, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Lists the directory entries of a url on the server.
      Specified by:
      list in interface SVNClientInterface
      Parameters:
      url - the url to list
      revision - the revision to list
      recurse - recurse into subdirectories
      Returns:
      Array of DirEntry objects.
      Throws:
      ClientException
    • list

      public DirEntry[] list(java.lang.String url, Revision revision, Revision pegRevision, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Lists the directory entries of a url on the server.
      Specified by:
      list in interface SVNClientInterface
      Parameters:
      url - the url to list
      revision - the revision to list
      pegRevision - the revision to interpret url
      recurse - recurse into subdirectories
      Returns:
      Array of DirEntry objects.
      Throws:
      ClientException
    • list

      public void list(java.lang.String url, Revision revision, Revision pegRevision, int depth, int direntFields, boolean fetchLocks, ListCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Lists the directory entries of a url on the server.
      Specified by:
      list in interface SVNClientInterface
      Parameters:
      url - the url to list
      revision - the revision to list
      pegRevision - the revision to interpret url
      depth - the depth to recurse into subdirectories
      direntFields - the fields to retrieve
      fetchLocks - whether to fetch lock information
      callback - the callback to receive the directory entries
      Throws:
      ClientException
    • list

      private void list(java.lang.String url, Revision revision, Revision pegRevision, int depth, int direntFields, boolean fetchLocks, ISVNDirEntryHandler handler) throws ClientException
      Throws:
      ClientException
    • username

      public void username(java.lang.String username)
      Description copied from interface: SVNClientInterface
      Sets the username used for authentication.
      Specified by:
      username in interface SVNClientInterface
      Parameters:
      username - The username, ignored if the empty string. Set to the empty string to clear it.
      See Also:
    • password

      public void password(java.lang.String password)
      Description copied from interface: SVNClientInterface
      Sets the password used for authentication.
      Specified by:
      password in interface SVNClientInterface
      Parameters:
      password - The password, ignored if the empty string. Set to the empty string to clear it.
      See Also:
    • setPrompt

      public void setPrompt(PromptUserPassword prompt)
      Description copied from interface: SVNClientInterface
      Register callback interface to supply username and password on demand. This callback can also be used to provide theequivalent of the --no-auth-cache and --non-interactive arguments accepted by the command-line client.
      Specified by:
      setPrompt in interface SVNClientInterface
      Parameters:
      prompt - the callback interface
    • updateClientManager

      private void updateClientManager()
    • logMessages

      public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the log messages for an item
      Specified by:
      logMessages in interface SVNClientInterface
      Parameters:
      path - path or url to get the log message for.
      revisionStart - first revision to show
      revisionEnd - last revision to show
      Returns:
      array of LogMessages
      Throws:
      ClientException
    • logMessages

      public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the log messages for an item
      Specified by:
      logMessages in interface SVNClientInterface
      Parameters:
      path - path or url to get the log message for.
      revisionStart - first revision to show
      revisionEnd - last revision to show
      stopOnCopy - do not continue on copy operations
      Returns:
      array of LogMessages
      Throws:
      ClientException
    • logMessages

      public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the log messages for an item
      Specified by:
      logMessages in interface SVNClientInterface
      Parameters:
      path - path or url to get the log message for.
      revisionStart - first revision to show
      revisionEnd - last revision to show
      stopOnCopy - do not continue on copy operations
      discoverPath - returns the paths of the changed items in the returned objects
      Returns:
      array of LogMessages
      Throws:
      ClientException
    • logMessages

      public LogMessage[] logMessages(java.lang.String path, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, long limit) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the log messages for an item
      Specified by:
      logMessages in interface SVNClientInterface
      Parameters:
      path - path or url to get the log message for.
      revisionStart - first revision to show
      revisionEnd - last revision to show
      stopOnCopy - do not continue on copy operations
      discoverPath - returns the paths of the changed items in the returned objects
      limit - limit the number of log messages (if 0 or less no limit)
      Returns:
      array of LogMessages
      Throws:
      ClientException
    • logMessages

      public void logMessages(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, java.lang.String[] revProps, long limit, LogMessageCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the log messages for an item.
      Specified by:
      logMessages in interface SVNClientInterface
      Parameters:
      path - path or url to get the log message for.
      pegRevision - revision to interpret path
      revisionStart - first revision to show
      revisionEnd - last revision to show
      stopOnCopy - do not continue on copy operations
      discoverPath - returns the paths of the changed items in the returned objects
      includeMergedRevisions - include log messages for revisions which were merged.
      revProps - the revprops to retrieve
      limit - limit the number of log messages (if 0 or less no limit)
      callback - the object to receive the log messages
      Throws:
      ClientException
    • logMessages

      private void logMessages(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, boolean includeMergeInfo, java.lang.String[] revisionProperties, long limit, ISVNLogEntryHandler logEntryHandler) throws ClientException
      Throws:
      ClientException
    • notification

      public void notification(Notify notify)
      Deprecated.
      Description copied from interface: SVNClientInterface
      Sets the notification callback used to send processing information back to the calling program.
      Specified by:
      notification in interface SVNClientInterface
      Parameters:
      notify - listener that the SVN library should call on many file operations.
    • notification2

      public void notification2(Notify2 notify)
      Description copied from interface: SVNClientInterface
      Sets the notification callback used to send processing information back to the calling program.
      Specified by:
      notification2 in interface SVNClientInterface
      Parameters:
      notify - listener that the SVN library should call on many file operations.
    • setProgressListener

      public void setProgressListener(ProgressListener listener)
      Description copied from interface: SVNClientInterface
      Set the progress callback.
      Specified by:
      setProgressListener in interface SVNClientInterface
      Parameters:
      listener - The progress callback.
    • resetLog

      private void resetLog()
    • commitMessageHandler

      public void commitMessageHandler(CommitMessage messageHandler)
      Description copied from interface: SVNClientInterface
      Sets the commit message handler. This allows more complex commit message with the list of the elements to be committed as input.
      Specified by:
      commitMessageHandler in interface SVNClientInterface
      Parameters:
      messageHandler - callback for entering commit messages if this is set the message parameter is ignored.
    • setConflictResolver

      public void setConflictResolver(ConflictResolverCallback listener)
      Description copied from interface: SVNClientInterface
      Set the conflict resolution callback.
      Specified by:
      setConflictResolver in interface SVNClientInterface
      Parameters:
      listener - The conflict resolution callback.
    • remove

      public void remove(java.lang.String[] path, java.lang.String message, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets a file for deletion.
      Specified by:
      remove in interface SVNClientInterface
      Parameters:
      path - path or url to be deleted
      message - if path is a url, this will be the commit message.
      force - delete even when there are local modifications.
      Throws:
      ClientException
    • remove

      public void remove(java.lang.String[] path, java.lang.String message, boolean force, boolean keepLocal, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets a file for deletion.
      Specified by:
      remove in interface SVNClientInterface
      Parameters:
      path - path or url to be deleted
      message - 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.
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Throws:
      ClientException
    • revert

      public void revert(java.lang.String path, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Reverts a file to a pristine state.
      Specified by:
      revert in interface SVNClientInterface
      Parameters:
      path - path of the file.
      recurse - recurse into subdirectories
      Throws:
      ClientException
    • revert

      public void revert(java.lang.String path, int depth, java.lang.String[] changelists) throws ClientException
      Description copied from interface: SVNClientInterface
      Reverts a file to a pristine state.
      Specified by:
      revert in interface SVNClientInterface
      Parameters:
      path - path of the file.
      depth - the depth to recurse into subdirectories
      changelists - changelists to filter by
      Throws:
      ClientException
    • add

      public void add(java.lang.String path, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Adds a file to the repository.
      Specified by:
      add in interface SVNClientInterface
      Parameters:
      path - path to be added.
      recurse - recurse into subdirectories
      Throws:
      ClientException
    • add

      public void add(java.lang.String path, boolean recurse, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Adds a file to the repository.
      Specified by:
      add in interface SVNClientInterface
      Parameters:
      path - path to be added.
      recurse - recurse into subdirectories
      force - if adding a directory and recurse true and path is a directory, all not already managed files are added.
      Throws:
      ClientException
    • add

      public void add(java.lang.String path, int depth, boolean force, boolean noIgnores, boolean addParents) throws ClientException
      Description copied from interface: SVNClientInterface
      Adds a file to the repository.
      Specified by:
      add in interface SVNClientInterface
      Parameters:
      path - path to be added.
      depth - the depth to recurse into subdirectories
      force - 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 patterns
      addParents - add any intermediate parents to the working copy
      Throws:
      ClientException
    • update

      public long update(java.lang.String path, Revision revision, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Updates the directory or file from repository
      Specified by:
      update in interface SVNClientInterface
      Parameters:
      path - target file.
      revision - the revision number to update. Revision.HEAD will update to the latest revision.
      recurse - recursively update.
      Throws:
      ClientException
    • update

      public long[] update(java.lang.String[] path, Revision revision, boolean recurse, boolean ignoreExternals) throws ClientException
      Description copied from interface: SVNClientInterface
      Updates the directories or files from repository
      Specified by:
      update in interface SVNClientInterface
      Parameters:
      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
      Throws:
      ClientException
    • update

      public long update(java.lang.String path, Revision revision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
      Description copied from interface: SVNClientInterface
      Updates the directory or file from repository
      Specified by:
      update in interface SVNClientInterface
      Parameters:
      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 update
      allowUnverObstructions - allow unversioned paths that obstruct adds
      Throws:
      ClientException
    • update

      public long[] update(java.lang.String[] path, Revision revision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
      Description copied from interface: SVNClientInterface
      Updates the directories or files from repository
      Specified by:
      update in interface SVNClientInterface
      Parameters:
      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 update
      allowUnverObstructions - allow unversioned paths that obstruct adds
      Throws:
      ClientException
    • commit

      public long commit(java.lang.String[] path, java.lang.String message, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Commits changes to the repository.
      Specified by:
      commit in interface SVNClientInterface
      Parameters:
      path - files to commit.
      message - log message.
      recurse - whether the operation should be done recursively.
      Returns:
      The new revision number created by the commit, or Revision.SVN_INVALID_REVNUM if the revision number is invalid.
      Throws:
      ClientException
    • commit

      public long commit(java.lang.String[] path, java.lang.String message, boolean recurse, boolean noUnlock) throws ClientException
      Description copied from interface: SVNClientInterface
      Commits changes to the repository.
      Specified by:
      commit in interface SVNClientInterface
      Parameters:
      path - files to commit.
      message - log message.
      recurse - whether the operation should be done recursively.
      noUnlock - do remove any locks
      Returns:
      The new revision number created by the commit, or Revision.SVN_INVALID_REVNUM if the revision number is invalid.
      Throws:
      ClientException
    • commit

      public long commit(java.lang.String[] path, java.lang.String message, int depth, boolean noUnlock, boolean keepChangelist, java.lang.String[] changelists, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Commits changes to the repository.
      Specified by:
      commit in interface SVNClientInterface
      Parameters:
      path - files to commit.
      message - log message.
      depth - how deep to recurse in subdirectories
      noUnlock - do remove any locks
      keepChangelist - keep changelist associations after the commit.
      changelists - if non-null, filter paths using changelists
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Returns:
      The new revision number created by the commit, or Revision.SVN_INVALID_REVNUM if the revision number is invalid.
      Throws:
      ClientException
    • commit

      public long[] commit(java.lang.String[] path, java.lang.String message, boolean recurse, boolean noUnlock, boolean atomicCommit) throws ClientException
      Throws:
      ClientException
    • commit

      public long[] commit(java.lang.String[] path, java.lang.String message, int depth, boolean noUnlock, boolean keepChangelist, java.lang.String[] changlelists, java.util.Map revprops, boolean atomicCommit) throws ClientException
      Throws:
      ClientException
    • copy

      public void copy(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, Revision revision) throws ClientException
      Description copied from interface: SVNClientInterface
      Copy versioned paths with the history preserved (with copyAsChild behavior).
      Specified by:
      copy in interface SVNClientInterface
      Parameters:
      srcPath - source path or url
      destPath - destination path or url
      message - commit message if destPath is a url
      revision - source revision
      Throws:
      ClientException
    • copy

      public void copy(CopySource[] sources, java.lang.String destPath, java.lang.String message, boolean copyAsChild, boolean makeParents, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Copy versioned paths with the history preserved.
      Specified by:
      copy in interface SVNClientInterface
      Parameters:
      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 parents
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Throws:
      ClientException - If the copy operation fails.
    • move

      public void move(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Move or rename versioned paths (with moveAsChild behavior).
      Specified by:
      move in interface SVNClientInterface
      Parameters:
      srcPath - source path or url
      destPath - destination path or url
      message - commit message if destPath is a url
      force - even with local modifications.
      Throws:
      ClientException
    • move

      public void move(java.lang.String srcPath, java.lang.String destPath, java.lang.String message, Revision revision, boolean force) throws ClientException
      Specified by:
      move in interface SVNClientInterface
      Throws:
      ClientException
    • move

      public void move(java.lang.String[] srcPaths, java.lang.String destPath, java.lang.String message, boolean force, boolean moveAsChild, boolean makeParents, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Move or rename versioned paths.
      Specified by:
      move in interface SVNClientInterface
      Parameters:
      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.
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Throws:
      ClientException - If the move operation fails.
    • getCopySources

      private SVNCopySource[] getCopySources(CopySource[] srcs, boolean copyAsChild) throws ClientException
      Throws:
      ClientException
    • getCopySources

      private SVNCopySource[] getCopySources(java.lang.String[] srcPaths, boolean copyAsChild) throws ClientException
      Throws:
      ClientException
    • copyOrMove

      private void copyOrMove(SVNCopySource[] sources, java.lang.String destPath, boolean isMove, java.lang.String message, boolean copyAsChild, boolean makeParents, java.util.Map revprops) throws ClientException
      Throws:
      ClientException
    • mkdir

      public void mkdir(java.lang.String[] path, java.lang.String message) throws ClientException
      Description copied from interface: SVNClientInterface
      Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
      Specified by:
      mkdir in interface SVNClientInterface
      Parameters:
      path - directories to be created
      message - commit message to used if path contains urls
      Throws:
      ClientException
    • mkdir

      public void mkdir(java.lang.String[] path, java.lang.String message, boolean makeParents, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Creates a directory directly in a repository or creates a directory on disk and schedules it for addition.
      Specified by:
      mkdir in interface SVNClientInterface
      Parameters:
      path - directories to be created
      message - commit message to used if path contains urls
      makeParents - Whether to create intermediate parents
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Throws:
      ClientException
    • cleanup

      public void cleanup(java.lang.String path) throws ClientException
      Description copied from interface: SVNClientInterface
      Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
      Specified by:
      cleanup in interface SVNClientInterface
      Parameters:
      path - a local directory.
      Throws:
      ClientException
    • resolved

      public void resolved(java.lang.String path, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Removes the conflicted state on a WC path (or tree).
      Specified by:
      resolved in interface SVNClientInterface
      Throws:
      ClientException
      See Also:
      • #resolved(String, int, int)
    • resolve

      public void resolve(java.lang.String path, int depth, int conflictResult) throws ClientException
      Description copied from interface: SVNClientInterface
      Resolves the conflicted state on a WC path (or tree).
      Specified by:
      resolve in interface SVNClientInterface
      Parameters:
      path - The path to resolve.
      depth - How deep to recurse into child paths.
      conflictResult - Which version to choose in the event of a conflict.
      Throws:
      ClientException
    • doExport

      public long doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
      Specified by:
      doExport in interface SVNClientInterface
      Parameters:
      srcPath - the url of the repository path to be exported
      destPath - a destination path that must not already exist.
      revision - the revsion to be exported
      force - set if it is ok to overwrite local files
      Throws:
      ClientException
    • doExport

      public long doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, boolean recurse, java.lang.String nativeEOL) throws ClientException
      Description copied from interface: SVNClientInterface
      Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
      Specified by:
      doExport in interface SVNClientInterface
      Parameters:
      srcPath - the url of the repository path to be exported
      destPath - a destination path that must not already exist.
      revision - the revsion to be exported
      pegRevision - the revision to interpret srcPath
      force - set if it is ok to overwrite local files
      ignoreExternals - ignore external during export
      recurse - recurse to subdirectories
      nativeEOL - which EOL characters to use during export
      Throws:
      ClientException
    • doExport

      public long doExport(java.lang.String srcPath, java.lang.String destPath, Revision revision, Revision pegRevision, boolean force, boolean ignoreExternals, int depth, java.lang.String nativeEOL) throws ClientException
      Description copied from interface: SVNClientInterface
      Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
      Specified by:
      doExport in interface SVNClientInterface
      Parameters:
      srcPath - the url of the repository path to be exported
      destPath - a destination path that must not already exist.
      revision - the revsion to be exported
      pegRevision - the revision to interpret srcPath
      force - set if it is ok to overwrite local files
      ignoreExternals - ignore external during export
      depth - how deep to recurse in subdirectories
      nativeEOL - which EOL characters to use during export
      Throws:
      ClientException
    • doImport

      public void doImport(java.lang.String path, java.lang.String url, java.lang.String message, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Import a file or directory into a repository directory at head.
      Specified by:
      doImport in interface SVNClientInterface
      Parameters:
      path - the local path
      url - the target url
      message - the log message.
      recurse - traverse into subdirectories
      Throws:
      ClientException
    • doImport

      public void doImport(java.lang.String path, java.lang.String url, java.lang.String message, int depth, boolean noIgnore, boolean ignoreUnknownNodeTypes, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Import a file or directory into a repository directory at head.
      Specified by:
      doImport in interface SVNClientInterface
      Parameters:
      path - the local path
      url - the target url
      message - the log message.
      depth - depth to traverse into subdirectories
      noIgnore - whether to add files matched by ignore patterns
      ignoreUnknownNodeTypes - whether to ignore files which the node type is not konwn, just as pipes
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Throws:
      ClientException
    • merge

      public void merge(java.lang.String path, Revision pegRevision, RevisionRange[] revisions, java.lang.String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException
      Description copied from interface: SVNClientInterface
      Merge set of revisions into a new local path.
      Specified by:
      merge in interface SVNClientInterface
      Parameters:
      path - path or url
      pegRevision - revision to interpret path
      revisions - revisions to merge
      localPath - target local path
      force - overwrite local changes
      depth - how deep to traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      dryRun - do not change anything
      recordOnly - record mergeinfo but do not run merge
      Throws:
      ClientException
    • merge

      public void merge(java.lang.String path, Revision pegRevision, Revision revision1, Revision revision2, java.lang.String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException
      Description copied from interface: SVNClientInterface
      Merge changes from two paths into a new local path.
      Specified by:
      merge in interface SVNClientInterface
      Parameters:
      path - path or url
      pegRevision - revision to interpret path
      revision1 - first revision
      revision2 - second revision
      localPath - target local path
      force - overwrite local changes
      recurse - traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      dryRun - do not change anything
      Throws:
      ClientException
    • merge

      private void merge(java.lang.String path, Revision pegRevision, java.util.List rangesToMerge, java.lang.String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException
      Throws:
      ClientException
    • merge

      public void merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Merge changes from two paths into a new local path.
      Specified by:
      merge in interface SVNClientInterface
      Parameters:
      path1 - first path or url
      revision1 - first revision
      path2 - second path or url
      revision2 - second revision
      localPath - target local path
      force - overwrite local changes
      recurse - traverse into subdirectories
      Throws:
      ClientException
    • merge

      public void merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, boolean recurse, boolean ignoreAncestry, boolean dryRun) throws ClientException
      Description copied from interface: SVNClientInterface
      Merge changes from two paths into a new local path.
      Specified by:
      merge in interface SVNClientInterface
      Parameters:
      path1 - first path or url
      revision1 - first revision
      path2 - second path or url
      revision2 - second revision
      localPath - target local path
      force - overwrite local changes
      recurse - traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      dryRun - do not change anything
      Throws:
      ClientException
    • merge

      public void merge(java.lang.String path1, Revision revision1, java.lang.String path2, Revision revision2, java.lang.String localPath, boolean force, int depth, boolean ignoreAncestry, boolean dryRun, boolean recordOnly) throws ClientException
      Description copied from interface: SVNClientInterface
      Merge changes from two paths into a new local path.
      Specified by:
      merge in interface SVNClientInterface
      Parameters:
      path1 - first path or url
      revision1 - first revision
      path2 - second path or url
      revision2 - second revision
      localPath - target local path
      force - overwrite local changes
      depth - how deep to traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      dryRun - do not change anything
      recordOnly - record mergeinfo but do not run merge
      Throws:
      ClientException
    • mergeReintegrate

      public void mergeReintegrate(java.lang.String path, Revision pegRevision, java.lang.String localPath, boolean dryRun) throws ClientException
      Description copied from interface: SVNClientInterface
      Perform a reintegration merge of path into localPath. localPath must be a single-revision, infinite depth, pristine, unswitched working copy -- in other words, it must reflect a single revision tree, the "target". The mergeinfo on path must reflect that all of the target has been merged into it. Then this behaves like a merge from the target's URL to the localPath. The depth of the merge is always infinity.
      Specified by:
      mergeReintegrate in interface SVNClientInterface
      Parameters:
      path - path or url
      pegRevision - revision to interpret path
      localPath - target local path
      dryRun - do not change anything
      Throws:
      ClientException
    • suggestMergeSources

      public java.lang.String[] suggestMergeSources(java.lang.String path, Revision pegRevision) throws SubversionException
      Description copied from interface: SVNClientInterface
      Return an ordered list of suggested merge source URLs.
      Specified by:
      suggestMergeSources in interface SVNClientInterface
      Parameters:
      path - The merge target path for which to suggest sources.
      pegRevision - Peg revision used to interpret path.
      Returns:
      The list of URLs, empty if there are no suggestions.
      Throws:
      ClientException - If an error occurs.
      SubversionException
    • getMergeinfo

      public Mergeinfo getMergeinfo(java.lang.String path, Revision revision) throws SubversionException
      Description copied from interface: SVNClientInterface
      Get mergeinfo for path at pegRevision.
      Specified by:
      getMergeinfo in interface SVNClientInterface
      Parameters:
      path - WC path or URL.
      revision - peg revision at which to get the merge info for path.
      Returns:
      The merge history of path.
      Throws:
      SubversionException
    • getMergeinfoLog

      public void getMergeinfoLog(int kind, java.lang.String pathOrUrl, Revision pegRevision, java.lang.String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, java.lang.String[] revprops, LogMessageCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve either merged or eligible-to-be-merged revisions.
      Specified by:
      getMergeinfoLog in interface SVNClientInterface
      Parameters:
      kind - kind of revisions to receive: See .
      pathOrUrl - target of merge
      pegRevision - peg rev for pathOrUrl
      mergeSourceUrl - the source of the merge
      srcPegRevision - peg rev for mergeSourceUrl
      discoverChangedPaths - return paths of changed items
      revprops - the revprops to retrieve
      callback - the object to receive the log messages
      Throws:
      ClientException
    • properties

      public PropertyData[] properties(java.lang.String path) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieves the properties of an item
      Specified by:
      properties in interface SVNClientInterface
      Parameters:
      path - the path of the item
      Returns:
      array of property objects
      Throws:
      ClientException
    • properties

      public PropertyData[] properties(java.lang.String path, Revision revision) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieves the properties of an item
      Specified by:
      properties in interface SVNClientInterface
      Parameters:
      path - the path of the item
      revision - the revision of the item
      Returns:
      array of property objects
      Throws:
      ClientException
    • properties

      public PropertyData[] properties(java.lang.String path, Revision revision, Revision pegRevision) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieves the properties of an item
      Specified by:
      properties in interface SVNClientInterface
      Parameters:
      path - the path of the item
      revision - the revision of the item
      pegRevision - the revision to interpret path
      Returns:
      array of property objects
      Throws:
      ClientException
    • properties

      public void properties(java.lang.String path, Revision revision, Revision pegRevision, int depth, java.lang.String[] changelists, ProplistCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieves the properties of an item
      Specified by:
      properties in interface SVNClientInterface
      Parameters:
      path - the path of the item
      revision - the revision of the item
      pegRevision - the revision to interpret path
      depth - the depth to recurse into subdirectories
      changelists - changelists to filter by
      callback - the callback to use to return the properties
      Throws:
      ClientException
    • properties

      private PropertyData[] properties(java.lang.String path, Revision revision, Revision pegRevision, SVNDepth depth, java.lang.String[] changelists) throws ClientException
      Throws:
      ClientException
    • propertySet

      public void propertySet(java.lang.String path, java.lang.String name, byte[] value, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets one property of an item with a byte array value
      Specified by:
      propertySet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      Throws:
      ClientException
    • propertySet

      public void propertySet(java.lang.String path, java.lang.String name, byte[] value, boolean recurse, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets one property of an item with a byte array value
      Specified by:
      propertySet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      force - do not check if the value is valid
      Throws:
      ClientException
    • propertySet

      public void propertySet(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets one property of an item with a String value
      Specified by:
      propertySet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      Throws:
      ClientException
    • propertySet

      public void propertySet(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets one property of an item with a String value
      Specified by:
      propertySet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      force - do not check if the value is valid
      Throws:
      ClientException
    • propertySet

      public void propertySet(java.lang.String path, java.lang.String name, java.lang.String value, int depth, java.lang.String[] changelists, boolean force, java.util.Map revprops) throws ClientException
      Description copied from interface: SVNClientInterface
      Sets one property of an item with a String value
      Specified by:
      propertySet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      depth - the depth to recurse into subdirectories
      changelists - changelists to filter by
      force - do not check if the value is valid
      revprops - A string-to-string mapping of revision properties to values which will be set if this operation results in a commit.
      Throws:
      ClientException
    • propertySet

      private void propertySet(java.lang.String path, java.lang.String name, SVNPropertyValue value, int depth, boolean force, java.lang.String[] changelists, java.util.Map revprops) throws ClientException
      Throws:
      ClientException
    • propertyRemove

      public void propertyRemove(java.lang.String path, java.lang.String name, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Remove one property of an item.
      Specified by:
      propertyRemove in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      recurse - remove the property also on subdirectories
      Throws:
      ClientException
    • propertyRemove

      public void propertyRemove(java.lang.String path, java.lang.String name, int depth, java.lang.String[] changelists) throws ClientException
      Description copied from interface: SVNClientInterface
      Remove one property of an item.
      Specified by:
      propertyRemove in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      depth - the depth to recurse into subdirectories
      changelists - changelists to filter by
      Throws:
      ClientException
    • propertyGet

      public PropertyData propertyGet(java.lang.String path, java.lang.String name) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve one property of one item
      Specified by:
      propertyGet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of property
      Returns:
      the Property
      Throws:
      ClientException
    • propertyGet

      public PropertyData propertyGet(java.lang.String path, java.lang.String name, Revision revision) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve one property of one item
      Specified by:
      propertyGet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of property
      revision - revision of the item
      Returns:
      the Property
      Throws:
      ClientException
    • propertyGet

      public PropertyData propertyGet(java.lang.String path, java.lang.String name, Revision revision, Revision pegRevision) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve one property of one item
      Specified by:
      propertyGet in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of property
      revision - revision of the item
      pegRevision - the revision to interpret path
      Returns:
      the Property
      Throws:
      ClientException
    • propertyCreate

      public void propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Create and sets one property of an item with a String value
      Specified by:
      propertyCreate in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      Throws:
      ClientException
    • propertyCreate

      public void propertyCreate(java.lang.String path, java.lang.String name, byte[] value, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Create and sets one property of an item with a byte array value
      Specified by:
      propertyCreate in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      Throws:
      ClientException
    • propertyCreate

      public void propertyCreate(java.lang.String path, java.lang.String name, byte[] value, boolean recurse, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Create and sets one property of an item with a byte array value
      Specified by:
      propertyCreate in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      force - do not check if the value is valid
      Throws:
      ClientException
    • propertyCreate

      public void propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, boolean recurse, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Create and sets one property of an item with a String value
      Specified by:
      propertyCreate in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      recurse - set property also on the subdirectories
      force - do not check if the value is valid
      Throws:
      ClientException
    • propertyCreate

      public void propertyCreate(java.lang.String path, java.lang.String name, java.lang.String value, int depth, java.lang.String[] changelists, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Create and sets one property of an item with a byte array value
      Specified by:
      propertyCreate in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      value - new value of the property
      depth - depth to set property on the subdirectories
      changelists - changelists to filter by
      force - do not check if the value is valid
      Throws:
      ClientException
    • propertyCreate

      private void propertyCreate(java.lang.String path, java.lang.String name, SVNPropertyValue value, int depth, java.lang.String[] changelists, boolean force) throws ClientException
      Throws:
      ClientException
    • revProperty

      public PropertyData revProperty(java.lang.String path, java.lang.String name, Revision rev) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve one revsision property of one item
      Specified by:
      revProperty in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      rev - revision to retrieve
      Returns:
      the Property
      Throws:
      ClientException
    • revProperties

      public PropertyData[] revProperties(java.lang.String path, Revision rev) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve all revsision properties of one item
      Specified by:
      revProperties in interface SVNClientInterface
      Parameters:
      path - path of the item
      rev - revision to retrieve
      Returns:
      the Properties
      Throws:
      ClientException
    • setRevProperty

      public void setRevProperty(java.lang.String path, java.lang.String name, Revision rev, java.lang.String value, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      set one revsision property of one item
      Specified by:
      setRevProperty in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      rev - revision to retrieve
      value - value of the property
      force - use force to set
      Throws:
      ClientException
    • fileContent

      public byte[] fileContent(java.lang.String path, Revision revision) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the content of a file
      Specified by:
      fileContent in interface SVNClientInterface
      Parameters:
      path - the path of the file
      revision - the revision to retrieve
      Returns:
      the content as byte array
      Throws:
      ClientException
    • fileContent

      public byte[] fileContent(java.lang.String path, Revision revision, Revision pegRevision) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the content of a file
      Specified by:
      fileContent in interface SVNClientInterface
      Parameters:
      path - the path of the file
      revision - the revision to retrieve
      pegRevision - the revision to interpret path
      Returns:
      the content as byte array
      Throws:
      ClientException
    • streamFileContent

      public void streamFileContent(java.lang.String path, Revision revision, Revision pegRevision, int bufferSize, java.io.OutputStream stream) throws ClientException
      Description copied from interface: SVNClientInterface
      Write the file's content to the specified output stream. If you need an InputStream, use a PipedInputStream/PipedOutputStream combination.
      Specified by:
      streamFileContent in interface SVNClientInterface
      Parameters:
      path - the path of the file
      revision - the revision to retrieve
      pegRevision - the revision at which to interpret the path
      stream - the stream to write the file's content to
      Throws:
      ClientException
      See Also:
      • PipedOutputStream
      • PipedInputStream
    • relocate

      public void relocate(java.lang.String from, java.lang.String to, java.lang.String path, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Rewrite the url's in the working copy
      Specified by:
      relocate in interface SVNClientInterface
      Parameters:
      from - old url
      to - new url
      path - working copy path
      recurse - recurse into subdirectories
      Throws:
      ClientException
    • blame

      public void blame(java.lang.String path, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the content together with the author, the revision and the date of the last change of each line
      Specified by:
      blame in interface SVNClientInterface
      Parameters:
      path - the path
      revisionStart - the first revision to show
      revisionEnd - the last revision to show
      callback - callback to receive the file content and the other information
      Throws:
      ClientException
    • blame

      public byte[] blame(java.lang.String path, Revision revisionStart, Revision revisionEnd) throws ClientException
      Description copied from interface: SVNClientInterface
      Return for each line of the file, the author and the revision of the last together with the content.
      Specified by:
      blame in interface SVNClientInterface
      Parameters:
      path - the path
      revisionStart - the first revision to show
      revisionEnd - the last revision to show
      Returns:
      the content together with author and revision of last change
      Throws:
      ClientException
    • blame

      public void blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the content together with the author, the revision and the date of the last change of each line
      Specified by:
      blame in interface SVNClientInterface
      Parameters:
      path - the path
      pegRevision - the revision to interpret the path
      revisionStart - the first revision to show
      revisionEnd - the last revision to show
      callback - callback to receive the file content and the other information
      Throws:
      ClientException
    • blame

      public void blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback2 callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the content together with the author, the revision and the date of the last change of each line
      Specified by:
      blame in interface SVNClientInterface
      Parameters:
      path - the path
      pegRevision - the revision to interpret the path
      revisionStart - the first revision to show
      revisionEnd - the last revision to show
      ignoreMimeType - whether or not to ignore the mime-type
      includeMergedRevisions - whether or not to include extra merge information
      callback - callback to receive the file content and the other information
      Throws:
      ClientException
    • blame

      private void blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, ISVNAnnotateHandler handler) throws ClientException
      Throws:
      ClientException
    • dispose

      public void dispose()
      Description copied from interface: SVNClientInterface
      release the native peer (should not depend on finalize)
      Specified by:
      dispose in interface SVNClientInterface
    • setConfigDirectory

      public void setConfigDirectory(java.lang.String configDir) throws ClientException
      Description copied from interface: SVNClientInterface
      Set directory for the configuration information, taking the usual steps to ensure that Subversion's config file templates exist in the specified location.. On Windows, setting a non-null value will override lookup of configuration in the registry.
      Specified by:
      setConfigDirectory in interface SVNClientInterface
      Parameters:
      configDir - Path of the directory, or null for the platform's default.
      Throws:
      ClientException
    • getConfigDirectory

      public java.lang.String getConfigDirectory() throws ClientException
      Description copied from interface: SVNClientInterface
      Get the configuration directory
      Specified by:
      getConfigDirectory in interface SVNClientInterface
      Returns:
      the directory
      Throws:
      ClientException
    • cancelOperation

      public void cancelOperation() throws ClientException
      Description copied from interface: SVNClientInterface
      cancel the active operation
      Specified by:
      cancelOperation in interface SVNClientInterface
      Throws:
      ClientException
    • info

      public Info info(java.lang.String path) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieves the working copy information for an item
      Specified by:
      info in interface SVNClientInterface
      Parameters:
      path - path of the item
      Returns:
      the information object
      Throws:
      ClientException
    • lock

      public void lock(java.lang.String[] path, java.lang.String comment, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Lock a working copy item
      Specified by:
      lock in interface SVNClientInterface
      Parameters:
      path - path of the item
      force - break an existing lock
      Throws:
      ClientException
    • unlock

      public void unlock(java.lang.String[] path, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Unlock a working copy item
      Specified by:
      unlock in interface SVNClientInterface
      Parameters:
      path - path of the item
      force - break an existing lock
      Throws:
      ClientException
    • getVersionInfo

      public java.lang.String getVersionInfo(java.lang.String path, java.lang.String trailUrl, boolean lastChanged) throws ClientException
      Description copied from interface: SVNClientInterface
      Produce a compact "version number" for a working copy
      Specified by:
      getVersionInfo in interface SVNClientInterface
      Parameters:
      path - path of the working copy
      trailUrl - to detect switches of the whole working copy
      lastChanged - last changed rather than current revisions
      Returns:
      the compact "version number"
      Throws:
      ClientException
    • version

      public static java.lang.String version()
    • versionMajor

      public static int versionMajor()
    • versionMinor

      public static int versionMinor()
    • versionMicro

      public static int versionMicro()
    • versionRevisionNumber

      public static long versionRevisionNumber()
    • enableLogging

      public static void enableLogging(int logLevel, java.lang.String logFilePath)
    • getNotify

      protected Notify getNotify()
      Deprecated.
    • getNotify2

      protected Notify2 getNotify2()
    • getEventListener

      protected ISVNEventHandler getEventListener()
    • getConflictHandler

      protected ISVNConflictHandler getConflictHandler()
    • getOptions

      public ISVNOptions getOptions()
    • getClientManager

      protected SVNClientManager getClientManager()
    • getSVNCommitClient

      protected SVNCommitClient getSVNCommitClient()
    • getSVNUpdateClient

      protected SVNUpdateClient getSVNUpdateClient()
    • getSVNStatusClient

      protected SVNStatusClient getSVNStatusClient()
    • getSVNWCClient

      protected SVNWCClient getSVNWCClient()
    • getSVNDiffClient

      protected SVNDiffClient getSVNDiffClient()
    • getSVNCopyClient

      protected SVNCopyClient getSVNCopyClient()
    • getSVNLogClient

      protected SVNLogClient getSVNLogClient()
    • getChangelistClient

      protected SVNChangelistClient getChangelistClient()
    • getCommitMessage

      protected CommitMessage getCommitMessage()
    • createCommitMessageHandler

      protected ISVNCommitHandler createCommitMessageHandler(boolean isURLsOnly)
    • createCommitMessageHandler

      protected ISVNCommitHandler createCommitMessageHandler(boolean isURLsOnly, boolean isImport)
    • throwException

      protected void throwException(SVNException e) throws ClientException
      Throws:
      ClientException
    • isURL

      protected static boolean isURL(java.lang.String pathOrUrl)
    • getAdminDirectoryName

      public java.lang.String getAdminDirectoryName()
      Specified by:
      getAdminDirectoryName in interface SVNClientInterface
      Returns:
      The name of the working copy's administrative directory, which is usually .svn.
      See Also:
    • isAdminDirectory

      public boolean isAdminDirectory(java.lang.String name)
      Specified by:
      isAdminDirectory in interface SVNClientInterface
      Parameters:
      name - The name of the directory to compare.
      Returns:
      Whether name is that of a working copy administrative directory.
    • getVersion

      public Version getVersion()
      Specified by:
      getVersion in interface SVNClientInterface
      Returns:
      Version information about the underlying native libraries.
    • doSwitch

      public long doSwitch(java.lang.String path, java.lang.String url, Revision revision, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Update local copy to mirror a new url.
      Specified by:
      doSwitch in interface SVNClientInterface
      Parameters:
      path - the working copy path
      url - the new url for the working copy
      revision - the new base revision of working copy
      recurse - traverse into subdirectories
      Throws:
      ClientException
    • doSwitch

      public long doSwitch(java.lang.String path, java.lang.String url, Revision revision, Revision pegRevision, int depth, boolean depthIsSticky, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
      Description copied from interface: SVNClientInterface
      Update local copy to mirror a new url.
      Specified by:
      doSwitch in interface SVNClientInterface
      Parameters:
      path - the working copy path
      url - the new url for the working copy
      revision - the new base revision of working copy
      pegRevision - the revision at which to interpret path
      depth - how deep to traverse into subdirectories
      depthIsSticky - if set, and depth is not Depth.unknown, then also set the ambient depth value to depth.
      ignoreExternals - whether to process externals definitions
      allowUnverObstructions - allow unversioned paths that obstruct adds
      Throws:
      ClientException
    • addToChangelist

      public void addToChangelist(java.lang.String[] paths, java.lang.String changelist, int depth, java.lang.String[] changelists) throws ClientException
      Description copied from interface: SVNClientInterface
      Add paths to a changelist
      Specified by:
      addToChangelist in interface SVNClientInterface
      Parameters:
      paths - paths to add to the changelist
      changelist - changelist name
      depth - the depth to recurse
      changelists - changelists to filter by
      Throws:
      ClientException
    • removeFromChangelists

      public void removeFromChangelists(java.lang.String[] paths, int depth, java.lang.String[] changelists) throws ClientException
      Description copied from interface: SVNClientInterface
      Remove paths from a changelist
      Specified by:
      removeFromChangelists in interface SVNClientInterface
      Parameters:
      paths - paths to remove from the changelist
      depth - the depth to recurse
      changelists - changelists to filter by
      Throws:
      ClientException
    • getChangelists

      public void getChangelists(java.lang.String rootPath, java.lang.String[] changelists, int depth, ChangelistCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Recursively get the paths which belong to a changelist
      Specified by:
      getChangelists in interface SVNClientInterface
      Parameters:
      rootPath - the wc path under which to check
      changelists - the changelists to look under
      depth - the depth to recurse
      callback - the callback to return the changelists through
      Throws:
      ClientException
    • checkout

      public long checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Executes a revision checkout.
      Specified by:
      checkout in interface SVNClientInterface
      Parameters:
      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.
      Throws:
      ClientException
    • checkout

      public long checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, Revision pegRevision, boolean recurse, boolean ignoreExternals) throws ClientException
      Description copied from interface: SVNClientInterface
      Executes a revision checkout.
      Specified by:
      checkout in interface SVNClientInterface
      Parameters:
      moduleName - name of the module to checkout.
      destPath - destination directory for checkout.
      revision - the revision to checkout.
      pegRevision - the peg revision to interpret the path
      recurse - whether you want it to checkout files recursively.
      ignoreExternals - if externals are ignored during checkout
      Throws:
      ClientException
    • checkout

      public long checkout(java.lang.String moduleName, java.lang.String destPath, Revision revision, Revision pegRevision, int depth, boolean ignoreExternals, boolean allowUnverObstructions) throws ClientException
      Description copied from interface: SVNClientInterface
      Executes a revision checkout.
      Specified by:
      checkout in interface SVNClientInterface
      Parameters:
      moduleName - name of the module to checkout.
      destPath - destination directory for checkout.
      revision - the revision to checkout.
      pegRevision - the peg revision to interpret the path
      depth - how deep to checkout files recursively.
      ignoreExternals - if externals are ignored during checkout
      allowUnverObstructions - allow unversioned paths that obstruct adds
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String outFileName, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target1 - first path or url
      revision1 - first revision
      target2 - second path or url
      revision2 - second revision
      outFileName - file name where difference are written
      recurse - traverse into subdirectories
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target1 - first path or url
      revision1 - first revision
      target2 - second path or url
      revision2 - second revision
      outFileName - file name where difference are written
      recurse - traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      noDiffDeleted - no output on deleted files
      force - diff even on binary files
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, java.lang.String outFileName, boolean recurse, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths.
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target - path or url
      pegRevision - revision tointerpret target
      startRevision - first Revision to compare
      endRevision - second Revision to compare
      outFileName - file name where difference are written
      recurse - traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      noDiffDeleted - no output on deleted files
      force - diff even on binary files
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target1 - first path or url
      revision1 - first revision
      target2 - second path or url
      revision2 - second revision
      relativeToDir - index path is relative to this path
      outFileName - file name where difference are written
      depth - how deep to traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      noDiffDeleted - no output on deleted files
      force - diff even on binary files
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths.
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target - path or url
      pegRevision - revision tointerpret target
      startRevision - first Revision to compare
      endRevision - second Revision to compare
      relativeToDir - index path is relative to this path
      outFileName - file name where difference are written
      depth - how deep to traverse into subdirectories
      changelists - if non-null, filter paths using changelists
      ignoreAncestry - ignore if files are not related
      noDiffDeleted - no output on deleted files
      force - diff even on binary files
      Throws:
      ClientException
    • getDiffBasePath

      private static java.io.File getDiffBasePath(java.lang.String relativePath) throws SVNException
      Throws:
      SVNException
    • diffSummarize

      public void diffSummarize(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, int depth, java.lang.String[] changelists, boolean ignoreAncestry, DiffSummaryReceiver receiver) throws ClientException
      Description copied from interface: SVNClientInterface
      Produce a diff summary which lists the items changed between path and revision pairs.
      Specified by:
      diffSummarize in interface SVNClientInterface
      Parameters:
      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 changelists
      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.
      receiver - As each is difference is found, this callback is invoked with a description of the difference.
      Throws:
      ClientException
    • diffSummarize

      public void diffSummarize(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, int depth, java.lang.String[] changelists, boolean ignoreAncestry, DiffSummaryReceiver receiver) throws ClientException
      Description copied from interface: SVNClientInterface
      Produce a diff summary which lists the items changed between path and revision pairs.
      Specified by:
      diffSummarize in interface SVNClientInterface
      Parameters:
      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 changelists
      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.
      receiver - As each is difference is found, this callback is invoked with a description of the difference.
      Throws:
      ClientException
    • info2

      public Info2[] info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, boolean recurse) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve information about repository or working copy items.
      Specified by:
      info2 in interface SVNClientInterface
      Parameters:
      pathOrUrl - the path or the url of the item
      revision - the revision of the item to return
      pegRevision - the revision to interpret pathOrUrl
      recurse - flag if to recurse, if the item is a directory
      Returns:
      the information objects
      Throws:
      ClientException
    • info2

      public void info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, int depth, java.lang.String[] changelists, InfoCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve information about repository or working copy items.
      Specified by:
      info2 in interface SVNClientInterface
      Parameters:
      pathOrUrl - the path or the url of the item
      revision - the revision of the item to return
      pegRevision - the revision to interpret pathOrUrl
      depth - the depth to recurse
      changelists - if non-null, filter paths using changelists
      callback - a callback to receive the infos retrieved
      Throws:
      ClientException
    • info2

      private void info2(java.lang.String pathOrUrl, Revision revision, Revision pegRevision, int depth, java.lang.String[] changelists, ISVNInfoHandler handler) throws SVNException
      Throws:
      SVNException
    • logMessages

      public void logMessages(java.lang.String path, Revision pegRevision, RevisionRange[] ranges, boolean stopOnCopy, boolean discoverPath, boolean includeMergedRevisions, java.lang.String[] revProps, long limit, LogMessageCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the log messages for an item.
      Specified by:
      logMessages in interface SVNClientInterface
      Parameters:
      path - path or url to get the log message for.
      pegRevision - revision to interpret path
      ranges - an array of revision ranges to show
      stopOnCopy - do not continue on copy operations
      discoverPath - returns the paths of the changed items in the returned objects
      includeMergedRevisions - include log messages for revisions which were merged.
      revProps - the revprops to retrieve
      limit - limit the number of log messages (if 0 or less no limit)
      callback - the object to receive the log messages
      Throws:
      ClientException
    • setRevProperty

      public void setRevProperty(java.lang.String path, java.lang.String name, Revision rev, java.lang.String value, java.lang.String originalValue, boolean force) throws ClientException
      Description copied from interface: SVNClientInterface
      set one revsision property of one item
      Specified by:
      setRevProperty in interface SVNClientInterface
      Parameters:
      path - path of the item
      name - name of the property
      rev - revision to retrieve
      value - value of the property
      originalValue - the original value of the property.
      force - use force to set
      Throws:
      ClientException
    • copy

      public void copy(CopySource[] sources, java.lang.String destPath, java.lang.String message, boolean copyAsChild, boolean makeParents, boolean ignoreExternals, java.util.Map revpropTable) throws ClientException
      Description copied from interface: SVNClientInterface
      Copy versioned paths with the history preserved.
      Specified by:
      copy in interface SVNClientInterface
      Parameters:
      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 parents
      ignoreExternals - 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.
      Throws:
      ClientException - If the copy operation fails.
    • getMergeinfoLog

      public void getMergeinfoLog(int kind, java.lang.String pathOrUrl, Revision pegRevision, java.lang.String mergeSourceUrl, Revision srcPegRevision, boolean discoverChangedPaths, int depth, java.lang.String[] revProps, LogMessageCallback callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve either merged or eligible-to-be-merged revisions.
      Specified by:
      getMergeinfoLog in interface SVNClientInterface
      Parameters:
      kind - kind of revisions to receive: See .
      pathOrUrl - target of merge
      pegRevision - peg rev for pathOrUrl
      mergeSourceUrl - the source of the merge
      srcPegRevision - peg rev for mergeSourceUrl
      discoverChangedPaths - return paths of changed items
      depth - the depth to recurse to
      revProps - the revprops to retrieve
      callback - the object to receive the log messages
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target1, Revision revision1, java.lang.String target2, Revision revision2, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target1 - first path or url
      revision1 - first revision
      target2 - second path or url
      revision2 - second revision
      relativeToDir - index path is relative to this path
      outFileName - file name where difference are written
      depth - how deep to traverse into subdirectories
      ignoreAncestry - ignore if files are not related
      noDiffDeleted - no output on deleted files
      force - diff even on binary files
      copiesAsAdds - if set, copied files will be shown in their entirety, not as diffs from their sources
      Throws:
      ClientException
    • diff

      public void diff(java.lang.String target, Revision pegRevision, Revision startRevision, Revision endRevision, java.lang.String relativeToDir, java.lang.String outFileName, int depth, java.lang.String[] changelists, boolean ignoreAncestry, boolean noDiffDeleted, boolean force, boolean copiesAsAdds) throws ClientException
      Description copied from interface: SVNClientInterface
      Display the differences between two paths.
      Specified by:
      diff in interface SVNClientInterface
      Parameters:
      target - path or url
      pegRevision - revision tointerpret target
      startRevision - first Revision to compare
      endRevision - second Revision to compare
      relativeToDir - index path is relative to this path
      outFileName - file name where difference are written
      depth - how deep to traverse into subdirectories
      changelists - if non-null, filter paths using changelists
      ignoreAncestry - ignore if files are not related
      noDiffDeleted - no output on deleted files
      force - diff even on binary files
      copiesAsAdds - if set, copied files will be shown in their entirety, not as diffs from their sources
      Throws:
      ClientException
    • blame

      public void blame(java.lang.String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean ignoreMimeType, boolean includeMergedRevisions, BlameCallback3 callback) throws ClientException
      Description copied from interface: SVNClientInterface
      Retrieve the content together with the author, the revision and the date of the last change of each line
      Specified by:
      blame in interface SVNClientInterface
      Parameters:
      path - the path
      pegRevision - the revision to interpret the path
      revisionStart - the first revision to show
      revisionEnd - the last revision to show
      ignoreMimeType - whether or not to ignore the mime-type
      includeMergedRevisions - whether or not to include extra merge information
      callback - callback to receive the file content and the other information
      Throws:
      ClientException
    • upgrade

      public void upgrade(java.lang.String path) throws ClientException
      Description copied from interface: SVNClientInterface
      Recursively upgrade a working copy to a new metadata storage format.
      Specified by:
      upgrade in interface SVNClientInterface
      Parameters:
      path - path of the working copy
      Throws:
      ClientException