Package org.tmatesoft.svn.core.wc2
Class SvnGetMergeInfo
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnOperation<java.util.Map<SVNURL,SVNMergeRangeList>>
-
- org.tmatesoft.svn.core.wc2.SvnGetMergeInfo
-
- All Implemented Interfaces:
ISvnOperationOptionsProvider
public class SvnGetMergeInfo extends SvnOperation<java.util.Map<SVNURL,SVNMergeRangeList>>
Returns mergeinfo as aMapwith merge source URLs (asSVNURL) mapped to range lists (SVNMergeRangeList). Range lists are objects containing arrays ofrangesdescribing the ranges which have been merged intotarget's URL (working copy path) as oftarget'spegRevision. If there is no mergeinfo, returnsnull.Targetcan be either URL or working copy path. Note: unlike most APIs which deal with mergeinfo, this one returns data where the keys of the map are absolute repository URLs rather than repository filesystem paths. Note: this routine requires repository access.SvnOperation.run()throwsSVNExceptionin the following cases:-
exception with
SVNErrorCode.UNSUPPORTED_FEATUREerror code - if the server doesn't support retrieval of mergeinfo (which will never happen for file:// URLs)- Version:
- 1.7
- Author:
- TMate Software Ltd.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSvnGetMergeInfo(SvnOperationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisChangesWorkingCopy()Gets whether the operation changes working copy-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnOperation
addTarget, cancel, ensureArgumentsAreValid, ensureEnoughTargets, ensureHomohenousTargets, getApplicableChangelists, getAuthenticationManager, getCanceller, getDepth, getEventHandler, getFirstTarget, getMaximumTargetsCount, getMinimumTargetsCount, getOperationalWorkingCopy, getOperationFactory, getOptions, getRepositoryPool, getRevision, getSqliteJournalMode, getTargets, hasFileTargets, hasLocalTargets, hasRemoteTargets, initDefaults, isCancelled, isSleepForTimestamp, isUseParentWcFormat, needsHomohenousTargets, run, setApplicalbeChangelists, setDepth, setRevision, setSingleTarget, setSleepForTimestamp, setSqliteJournalMode
-
-
-
-
Constructor Detail
-
SvnGetMergeInfo
protected SvnGetMergeInfo(SvnOperationFactory factory)
-
-
Method Detail
-
isChangesWorkingCopy
public boolean isChangesWorkingCopy()
Gets whether the operation changes working copy- Overrides:
isChangesWorkingCopyin classSvnOperation<java.util.Map<SVNURL,SVNMergeRangeList>>- Returns:
trueif the operation changes the working copy, otherwisefalse
-
-