public class SVNCommitUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator |
FILE_COMPARATOR |
Constructor and Description |
---|
SVNCommitUtil() |
Modifier and Type | Method and Description |
---|---|
private static java.io.File |
adjustRelativePaths(java.io.File rootFile,
java.util.Collection relativePaths) |
private static void |
collectLocks(SVNAdminArea adminArea,
java.util.Map lockTokens) |
static SVNWCAccess |
createCommitWCAccess(java.io.File[] paths,
SVNDepth depth,
boolean force,
java.util.Collection relativePaths,
SVNStatusClient16 statusClient) |
static SVNWCAccess[] |
createCommitWCAccess2(java.io.File[] paths,
SVNDepth depth,
boolean force,
java.util.Map relativePathsMap,
SVNStatusClient16 statusClient) |
static void |
driveCommitEditor(ISVNCommitPathHandler handler,
java.util.Collection paths,
ISVNEditor editor,
long revision) |
static void |
filterOutFileExternals(java.util.Collection explicitPaths,
java.util.Map commitables,
SVNWCAccess baseAccess) |
static void |
harvestCommitables(java.util.Map commitables,
SVNAdminArea dir,
java.io.File path,
SVNEntry parentEntry,
SVNEntry entry,
java.lang.String url,
java.lang.String copyFromURL,
boolean copyMode,
boolean addsOnly,
boolean justLocked,
java.util.Map lockTokens,
SVNDepth depth,
boolean forcedRecursion,
java.util.Collection changelists,
ISVNCommitParameters params,
java.util.Map pathsToExternalsProperties) |
static SVNCommitItem[] |
harvestCommitables(SVNWCAccess baseAccess,
java.util.Collection paths,
java.util.Map lockTokens,
boolean justLocked,
SVNDepth depth,
boolean force,
java.util.Collection changelists,
ISVNCommitParameters params) |
private static boolean |
isRecursiveCommitForced(java.io.File directory) |
private static void |
removeRedundantPaths(java.util.Collection dirsToLockRecursively,
java.util.Collection dirsToLock) |
static SVNURL |
translateCommitables(SVNCommitItem[] items,
java.util.Map decodedPaths) |
static java.util.Map |
translateLockTokens(java.util.Map lockTokens,
java.lang.String baseURL) |
static java.lang.String |
validateCommitMessage(java.lang.String message) |
public static void driveCommitEditor(ISVNCommitPathHandler handler, java.util.Collection paths, ISVNEditor editor, long revision) throws SVNException
SVNException
public static SVNWCAccess createCommitWCAccess(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Collection relativePaths, SVNStatusClient16 statusClient) throws SVNException
SVNException
public static SVNWCAccess[] createCommitWCAccess2(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Map relativePathsMap, SVNStatusClient16 statusClient) throws SVNException
SVNException
public static SVNCommitItem[] harvestCommitables(SVNWCAccess baseAccess, java.util.Collection paths, java.util.Map lockTokens, boolean justLocked, SVNDepth depth, boolean force, java.util.Collection changelists, ISVNCommitParameters params) throws SVNException
SVNException
public static void filterOutFileExternals(java.util.Collection explicitPaths, java.util.Map commitables, SVNWCAccess baseAccess) throws SVNException
SVNException
public static SVNURL translateCommitables(SVNCommitItem[] items, java.util.Map decodedPaths) throws SVNException
SVNException
public static java.util.Map translateLockTokens(java.util.Map lockTokens, java.lang.String baseURL)
public static void harvestCommitables(java.util.Map commitables, SVNAdminArea dir, java.io.File path, SVNEntry parentEntry, SVNEntry entry, java.lang.String url, java.lang.String copyFromURL, boolean copyMode, boolean addsOnly, boolean justLocked, java.util.Map lockTokens, SVNDepth depth, boolean forcedRecursion, java.util.Collection changelists, ISVNCommitParameters params, java.util.Map pathsToExternalsProperties) throws SVNException
SVNException
private static void collectLocks(SVNAdminArea adminArea, java.util.Map lockTokens) throws SVNException
SVNException
private static void removeRedundantPaths(java.util.Collection dirsToLockRecursively, java.util.Collection dirsToLock)
private static java.io.File adjustRelativePaths(java.io.File rootFile, java.util.Collection relativePaths) throws SVNException
SVNException
private static boolean isRecursiveCommitForced(java.io.File directory) throws SVNException
SVNException
public static java.lang.String validateCommitMessage(java.lang.String message)