Class SvnNgCommitUtil
java.lang.Object
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCommitUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
(package private) static interface
private static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
bailOnTreeConflictedAncestor
(SVNWCContext context, File firstAbspath) private static void
bailOnTreeConflictedChildren
(SVNWCContext context, File localAbsPath, SVNNodeKind kind, SVNDepth depth, Collection<String> changelistsSet) private static void
collectLocks
(SVNWCContext context, File path, Map<SVNURL, String> lockTokens) private static Structure<SvnNgCommitUtil.NodeCommitStatus>
getNodeCommitStatus
(SVNWCContext context, File localAbsPath) private static void
handleDescendants
(SVNWCContext context, SvnCommitPacket packet, SVNURL rootUrl, Collection<SvnCommitItem> items, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISVNEventHandler eventHandler) static void
harvestCommittables
(SVNWCContext context, File localAbsPath, SvnCommitPacket committables, Map<SVNURL, String> lockTokens, SVNURL repositoryRootUrl, File copyModeRelPath, boolean copyModeRoot, SVNDepth depth, boolean justLocked, Collection<String> changelists, Map<File, File> danglers, boolean skipFiles, boolean skipDirs, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISvnCommitParameters commitParameters, Map<File, String> externalsStorage, ISVNEventHandler eventHandler) static SvnCommitPacket
harvestCommittables
(SVNWCContext context, SvnCommitPacket packet, Map<SVNURL, String> lockTokens, File baseDirPath, Collection<String> targets, int depthEmptyStart, SVNDepth depth, boolean justLocked, Collection<String> changelists, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISvnCommitParameters commitParameters, Map<File, String> externalsStorage) static SvnCommitPacket
harvestCopyCommitables
(SVNWCContext context, File path, SVNURL dst, SvnCommitPacket packet, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISvnCommitParameters commitParameters, Map<File, String> externalsStorage) private static void
harvestNotPresentForCopy
(SVNWCContext context, File localAbsPath, SvnCommitPacket committables, SVNURL reposRootUrl, File commitRelPath, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback) static SVNURL
translateCommitables
(Collection<SvnCommitItem> items, Map<String, SvnCommitItem> decodedPaths) translateLockTokens
(Map<SVNURL, String> lockTokens, SVNURL baseURL)
-
Constructor Details
-
SvnNgCommitUtil
public SvnNgCommitUtil()
-
-
Method Details
-
harvestCopyCommitables
public static SvnCommitPacket harvestCopyCommitables(SVNWCContext context, File path, SVNURL dst, SvnCommitPacket packet, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISvnCommitParameters commitParameters, Map<File, String> externalsStorage) throws SVNException- Throws:
SVNException
-
harvestCommittables
public static SvnCommitPacket harvestCommittables(SVNWCContext context, SvnCommitPacket packet, Map<SVNURL, String> lockTokens, File baseDirPath, Collection<String> targets, int depthEmptyStart, SVNDepth depth, boolean justLocked, Collection<String> changelists, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISvnCommitParameters commitParameters, Map<File, throws SVNExceptionString> externalsStorage) - Throws:
SVNException
-
handleDescendants
private static void handleDescendants(SVNWCContext context, SvnCommitPacket packet, SVNURL rootUrl, Collection<SvnCommitItem> items, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISVNEventHandler eventHandler) throws SVNException - Throws:
SVNException
-
harvestCommittables
public static void harvestCommittables(SVNWCContext context, File localAbsPath, SvnCommitPacket committables, Map<SVNURL, String> lockTokens, SVNURL repositoryRootUrl, File copyModeRelPath, boolean copyModeRoot, SVNDepth depth, boolean justLocked, Collection<String> changelists, Map<File, throws SVNExceptionFile> danglers, boolean skipFiles, boolean skipDirs, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback, ISvnCommitParameters commitParameters, Map<File, String> externalsStorage, ISVNEventHandler eventHandler) - Throws:
SVNException
-
harvestNotPresentForCopy
private static void harvestNotPresentForCopy(SVNWCContext context, File localAbsPath, SvnCommitPacket committables, SVNURL reposRootUrl, File commitRelPath, SvnNgCommitUtil.ISvnUrlKindCallback urlKindCallback) throws SVNException - Throws:
SVNException
-
getNodeCommitStatus
private static Structure<SvnNgCommitUtil.NodeCommitStatus> getNodeCommitStatus(SVNWCContext context, File localAbsPath) throws SVNException - Throws:
SVNException
-
bailOnTreeConflictedChildren
private static void bailOnTreeConflictedChildren(SVNWCContext context, File localAbsPath, SVNNodeKind kind, SVNDepth depth, Collection<String> changelistsSet) throws SVNException - Throws:
SVNException
-
collectLocks
private static void collectLocks(SVNWCContext context, File path, Map<SVNURL, String> lockTokens) throws SVNException- Throws:
SVNException
-
bailOnTreeConflictedAncestor
private static void bailOnTreeConflictedAncestor(SVNWCContext context, File firstAbspath) throws SVNException - Throws:
SVNException
-
translateCommitables
public static SVNURL translateCommitables(Collection<SvnCommitItem> items, Map<String, SvnCommitItem> decodedPaths) throws SVNException- Throws:
SVNException
-
translateLockTokens
-