Class SVNCommitUtil

java.lang.Object
org.tmatesoft.svn.core.internal.wc.SVNCommitUtil

public class SVNCommitUtil extends java.lang.Object
Version:
1.3
  • Field Details

    • FILE_COMPARATOR

      public static final java.util.Comparator FILE_COMPARATOR
  • Constructor Details

    • SVNCommitUtil

      public SVNCommitUtil()
  • Method Details

    • driveCommitEditor

      public static void driveCommitEditor(ISVNCommitPathHandler handler, java.util.Collection paths, ISVNEditor editor, long revision) throws SVNException
      Throws:
      SVNException
    • createCommitWCAccess

      public static SVNWCAccess createCommitWCAccess(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Collection relativePaths, SVNStatusClient16 statusClient) throws SVNException
      Throws:
      SVNException
    • createCommitWCAccess2

      public static SVNWCAccess[] createCommitWCAccess2(java.io.File[] paths, SVNDepth depth, boolean force, java.util.Map relativePathsMap, SVNStatusClient16 statusClient) throws SVNException
      Throws:
      SVNException
    • harvestCommitables

      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
      Throws:
      SVNException
    • filterOutFileExternals

      public static void filterOutFileExternals(java.util.Collection explicitPaths, java.util.Map commitables, SVNWCAccess baseAccess) throws SVNException
      Throws:
      SVNException
    • translateCommitables

      public static SVNURL translateCommitables(SVNCommitItem[] items, java.util.Map decodedPaths) throws SVNException
      Throws:
      SVNException
    • translateLockTokens

      public static java.util.Map translateLockTokens(java.util.Map lockTokens, java.lang.String baseURL)
    • harvestCommitables

      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
      Throws:
      SVNException
    • collectLocks

      private static void collectLocks(SVNAdminArea adminArea, java.util.Map lockTokens) throws SVNException
      Throws:
      SVNException
    • removeRedundantPaths

      private static void removeRedundantPaths(java.util.Collection dirsToLockRecursively, java.util.Collection dirsToLock)
    • adjustRelativePaths

      private static java.io.File adjustRelativePaths(java.io.File rootFile, java.util.Collection relativePaths) throws SVNException
      Throws:
      SVNException
    • isRecursiveCommitForced

      private static boolean isRecursiveCommitForced(java.io.File directory) throws SVNException
      Throws:
      SVNException
    • validateCommitMessage

      public static java.lang.String validateCommitMessage(java.lang.String message)