Class SvnNgMergeinfoUtil
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc2.ng.SvnNgMergeinfoUtil
-
public class SvnNgMergeinfoUtil extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo
static class
SvnNgMergeinfoUtil.SvnMergeInfoInfo
-
Constructor Summary
Constructors Constructor Description SvnNgMergeinfoUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>>
addPrefixToCatalog(java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>> catalog, java.io.File prefix)
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>>
convertToCatalog(java.util.Map<java.lang.String,SVNMergeInfo> catalog)
static java.util.Map<java.io.File,java.util.Map<java.lang.String,SVNMergeRangeList>>
convertToCatalog2(java.util.Map<java.lang.String,SVNMergeInfo> catalog)
private static void
elideMergeInfo(SVNWCContext context, java.util.Map<java.lang.String,SVNMergeRangeList> parent, java.util.Map<java.lang.String,SVNMergeRangeList> child, java.io.File targetAbsPath)
static void
elideMergeInfo(SVNWCContext context, SVNRepository repos, java.io.File targetAbsPath, java.io.File limitAbsPath)
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>>
getMergeInfo(SVNWCContext context, SvnRepositoryAccess repoAccess, SvnTarget target, boolean includeDescendants, boolean ignoreInvalidMergeInfo, SVNURL[] root)
private static SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo
getReposMergeInfoCatalog(SVNRepository repository, java.lang.String relativePath, long revision, SVNMergeInfoInheritance inheritance, boolean squelchIncapable, boolean includeDescendats)
static SvnNgMergeinfoUtil.SvnMergeInfoInfo
getWCMergeInfo(SVNWCContext context, java.io.File localAbsPath, java.io.File limitAbsPath, SVNMergeInfoInheritance inheritance, boolean ignoreInvalidMergeInfo)
private static SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo
getWcMergeInfoCatalog(SVNWCContext context, boolean includeDescendants, SVNMergeInfoInheritance inheritance, java.io.File localAbsPath, java.io.File limitAbsPath, boolean ignoreInvalidMergeInfo)
static java.util.Map<java.lang.String,SVNMergeRangeList>
getWCOrReposMergeInfo(SVNWCContext context, java.io.File wcPath, SVNRepository repository, boolean reposOnly, SVNMergeInfoInheritance inheritance)
(package private) static SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo
getWcOrReposMergeInfoCatalog(SVNWCContext context, SVNRepository repository, java.io.File wcPath, boolean includeDescendants, boolean reposOnly, boolean ignoreInvalidMergeInfo, SVNMergeInfoInheritance inheritance)
private static java.util.Map<java.lang.String,SVNMergeRangeList>
parseMergeInfo(SVNWCContext context, java.io.File localAbsPath)
-
-
-
Method Detail
-
parseMergeInfo
private static java.util.Map<java.lang.String,SVNMergeRangeList> parseMergeInfo(SVNWCContext context, java.io.File localAbsPath) throws SVNException
- Throws:
SVNException
-
elideMergeInfo
public static void elideMergeInfo(SVNWCContext context, SVNRepository repos, java.io.File targetAbsPath, java.io.File limitAbsPath) throws SVNException
- Throws:
SVNException
-
elideMergeInfo
private static void elideMergeInfo(SVNWCContext context, java.util.Map<java.lang.String,SVNMergeRangeList> parent, java.util.Map<java.lang.String,SVNMergeRangeList> child, java.io.File targetAbsPath) throws SVNException
- Throws:
SVNException
-
getWCMergeInfo
public static SvnNgMergeinfoUtil.SvnMergeInfoInfo getWCMergeInfo(SVNWCContext context, java.io.File localAbsPath, java.io.File limitAbsPath, SVNMergeInfoInheritance inheritance, boolean ignoreInvalidMergeInfo) throws SVNException
- Throws:
SVNException
-
getWcMergeInfoCatalog
private static SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo getWcMergeInfoCatalog(SVNWCContext context, boolean includeDescendants, SVNMergeInfoInheritance inheritance, java.io.File localAbsPath, java.io.File limitAbsPath, boolean ignoreInvalidMergeInfo) throws SVNException
- Throws:
SVNException
-
getReposMergeInfoCatalog
private static SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo getReposMergeInfoCatalog(SVNRepository repository, java.lang.String relativePath, long revision, SVNMergeInfoInheritance inheritance, boolean squelchIncapable, boolean includeDescendats) throws SVNException
- Throws:
SVNException
-
getWcOrReposMergeInfoCatalog
static SvnNgMergeinfoUtil.SvnMergeInfoCatalogInfo getWcOrReposMergeInfoCatalog(SVNWCContext context, SVNRepository repository, java.io.File wcPath, boolean includeDescendants, boolean reposOnly, boolean ignoreInvalidMergeInfo, SVNMergeInfoInheritance inheritance) throws SVNException
- Throws:
SVNException
-
getMergeInfo
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>> getMergeInfo(SVNWCContext context, SvnRepositoryAccess repoAccess, SvnTarget target, boolean includeDescendants, boolean ignoreInvalidMergeInfo, SVNURL[] root) throws SVNException
- Throws:
SVNException
-
getWCOrReposMergeInfo
public static java.util.Map<java.lang.String,SVNMergeRangeList> getWCOrReposMergeInfo(SVNWCContext context, java.io.File wcPath, SVNRepository repository, boolean reposOnly, SVNMergeInfoInheritance inheritance) throws SVNException
- Throws:
SVNException
-
convertToCatalog
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>> convertToCatalog(java.util.Map<java.lang.String,SVNMergeInfo> catalog)
-
convertToCatalog2
public static java.util.Map<java.io.File,java.util.Map<java.lang.String,SVNMergeRangeList>> convertToCatalog2(java.util.Map<java.lang.String,SVNMergeInfo> catalog)
-
addPrefixToCatalog
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>> addPrefixToCatalog(java.util.Map<java.lang.String,java.util.Map<java.lang.String,SVNMergeRangeList>> catalog, java.io.File prefix)
-
-