Interface ISVNMergeInfo


public interface ISVNMergeInfo
  • Method Details

    • addRevisions

      void addRevisions(String path, SVNRevisionRange[] range)
      Add one or more SVNRevisionRange objects to merge info. If path is already stored, the list of revisions is replaced.
      Parameters:
      path - The merge source path.
      range - List of SVNRevisionRange objects to add.
    • addRevisionRange

      void addRevisionRange(String path, SVNRevisionRange range)
      Add a revision range to the merged revisions for a path. If the path already has associated revision ranges, add the revision range to the existing list.
      Parameters:
      path - The merge source path.
      range - The revision range to add.
    • getPaths

      String[] getPaths()
      Get the merge source paths.
      Returns:
      The merge source paths.
    • getRevisions

      SVNRevisionRange[] getRevisions(String path)
      Get the revision ranges for the specified path.
      Parameters:
      path - The merge source path.
      Returns:
      List of SVNRevisionRange objects, or null.
    • getRevisionRange

      SVNRevisionRange[] getRevisionRange(String path)
      Get the RevisionRange objects for the specified path
      Parameters:
      path - The merge source path.
      Returns:
      Array of RevisionRange objects, or null.
    • loadFromMergeInfoProperty

      void loadFromMergeInfoProperty(String mergeInfo)
      Parse the svn:mergeinfo property to populate the merge source paths and revision ranges of this instance.
      Parameters:
      mergeInfo - svn:mergeinfo property value.