Class SvnNgRevert

All Implemented Interfaces:
ISVNCanceller, ISVNEventHandler, ISvnOperationRunner<java.lang.Void,SvnRevert>

public class SvnNgRevert extends SvnNgOperationRunner<java.lang.Void,SvnRevert>
  • Constructor Details

    • SvnNgRevert

      public SvnNgRevert()
  • Method Details

    • run

      protected java.lang.Void run(SVNWCContext context) throws SVNException
      Specified by:
      run in class SvnNgOperationRunner<java.lang.Void,SvnRevert>
      Throws:
      SVNException
    • revert

      private void revert(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, java.util.Collection<java.lang.String> changelists) throws SVNException
      Throws:
      SVNException
    • revertChangelist

      private void revertChangelist(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, java.util.Collection<java.lang.String> changelists) throws SVNException
      Throws:
      SVNException
    • revert

      private void revert(java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes) throws SVNException
      Throws:
      SVNException
    • populateModifiedCopiesThatShouldBePreserved

      private void populateModifiedCopiesThatShouldBePreserved(java.io.File localAbsPath, java.io.File wcRoot, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved) throws SVNException
      Throws:
      SVNException
    • restore

      public static void restore(SVNWCContext context, java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, boolean revertRoot, ISVNEventHandler notifier) throws SVNException
      Throws:
      SVNException
    • restore

      public static void restore(SVNWCContext context, java.io.File localAbsPath, SVNDepth depth, boolean useCommitTimes, boolean revertRoot, ISVNEventHandler notifier, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved) throws SVNException
      Throws:
      SVNException
    • restoreCopiedDirectory

      private static boolean restoreCopiedDirectory(SVNWCContext context, java.io.File localAbsPath, boolean removeSelf, java.util.Set<java.io.File> modifiedCopiesThatShouldBePreserved) throws SVNException
      Throws:
      SVNException