diff tests/test-help.t @ 42612:3c16b9c0b099

continue: added logic for hg continue This is part of GSoC19 project `Implement abort and continue commands`. This patch is part of the continue plan. This adds the basic logic for hg continue. This command aborts an multistep operation like graft, histedit, rebase, transplant and unshelve if they are in an unfinished state. The first part of the logic is determining the unfinished operation from the state detection API under statemod. This API is extended to support hg continue by adding a method to register the abort logic as a function (here continuefunc). Once the unfinished operation is determined the registered logic is used to resume the command in case it is interrupted. The benefit of this kind of framework is that any new extension developed can support hg continue by registering the command and logic under statedetection API. hg continue currently supports --dry-run/-n flag only. It is used to dry run hg abort Differential Revision: https://phab.mercurial-scm.org/D6645
author Taapas Agrawal <taapas2897@gmail.com>
date Mon, 15 Jul 2019 22:23:31 +0530
parents bb135a784b70
children 559ac8411f12
line wrap: on
line diff
--- a/tests/test-help.t	Wed Jul 17 18:15:51 2019 +0200
+++ b/tests/test-help.t	Mon Jul 15 22:23:31 2019 +0530
@@ -408,6 +408,7 @@
                  show changeset information by line for each file
    clone         make a copy of an existing repository
    commit, ci    commit the specified files or all outstanding changes
+   continue      resumes an interrupted operation (EXPERIMENTAL)
    diff          diff repository (or selected files)
    export        dump the header and diffs for one or more changesets
    forget        forget the specified files on the next commit
@@ -2389,6 +2390,13 @@
   commit the specified files or all outstanding changes
   </td></tr>
   <tr><td>
+  <a href="/help/continue">
+  continue
+  </a>
+  </td><td>
+  resumes an interrupted operation (EXPERIMENTAL)
+  </td></tr>
+  <tr><td>
   <a href="/help/diff">
   diff
   </a>