org.tigris.subversion.svnclientadapter
Interface ISVNMergeInfo


public interface ISVNMergeInfo


Method Summary
 void addRevisionRange(java.lang.String path, SVNRevisionRange range)
          Add a revision range to the merged revisions for a path.
 void addRevisions(java.lang.String path, SVNRevisionRange[] range)
          Add one or more SVNRevisionRange objects to merge info.
 java.lang.String[] getPaths()
          Get the merge source paths.
 SVNRevisionRange[] getRevisionRange(java.lang.String path)
          Get the RevisionRange objects for the specified path
 SVNRevisionRange[] getRevisions(java.lang.String path)
          Get the revision ranges for the specified path.
 void loadFromMergeInfoProperty(java.lang.String mergeInfo)
          Parse the svn:mergeinfo property to populate the merge source paths and revision ranges of this instance.
 

Method Detail

addRevisions

void addRevisions(java.lang.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(java.lang.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

java.lang.String[] getPaths()
Get the merge source paths.

Returns:
The merge source paths.

getRevisions

SVNRevisionRange[] getRevisions(java.lang.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(java.lang.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(java.lang.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.