Performs a reintegration merge of
srcPath
at
pegRevision
into
dstPath
.
dstPath
must be a single-revision, {@link SVNDepth#INFINITY}, pristine, unswitched working copy -- in other words, it must reflect a single revision tree, the "target". The mergeinfo on
srcPath
must reflect that all of the target has been merged into it.
This kind of merge should be used for back merging (for example, merging branches back to trunk, in which case merge is carried out by comparing the latest trunk tree with the latest branch tree; i.e. the resulting difference is excatly the branch changes which will go back to trunk).
All other options are handled identically to {@link #doMerge(File,SVNRevision,File,SVNRevision,File,SVNDepth,boolean,boolean,boolean,boolean)}. The depth of the merge is always {@link SVNDepth#INFINITY}.
If
pegRevision
is
null or {@link SVNRevision#isValid() invalid}, then it defaults to {@link SVNRevision#WORKING}.
Note: this method requires repository access.
@param srcPath working copy path
@param pegRevision a revision in which
srcPath
is first looked up
@param dstPath target working copy path
@param dryRun if
true thenonly tries the operation to run (to find out if a file can be merged successfully)
@throws SVNException
@since 1.2, SVN 1.5