comparison 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
comparison
equal deleted inserted replaced
42611:2f760da140ee 42612:3c16b9c0b099
406 add add the specified files on the next commit 406 add add the specified files on the next commit
407 annotate, blame 407 annotate, blame
408 show changeset information by line for each file 408 show changeset information by line for each file
409 clone make a copy of an existing repository 409 clone make a copy of an existing repository
410 commit, ci commit the specified files or all outstanding changes 410 commit, ci commit the specified files or all outstanding changes
411 continue resumes an interrupted operation (EXPERIMENTAL)
411 diff diff repository (or selected files) 412 diff diff repository (or selected files)
412 export dump the header and diffs for one or more changesets 413 export dump the header and diffs for one or more changesets
413 forget forget the specified files on the next commit 414 forget forget the specified files on the next commit
414 init create a new repository in the given directory 415 init create a new repository in the given directory
415 log, history show revision history of entire repository or files 416 log, history show revision history of entire repository or files
2387 </a> 2388 </a>
2388 </td><td> 2389 </td><td>
2389 commit the specified files or all outstanding changes 2390 commit the specified files or all outstanding changes
2390 </td></tr> 2391 </td></tr>
2391 <tr><td> 2392 <tr><td>
2393 <a href="/help/continue">
2394 continue
2395 </a>
2396 </td><td>
2397 resumes an interrupted operation (EXPERIMENTAL)
2398 </td></tr>
2399 <tr><td>
2392 <a href="/help/diff"> 2400 <a href="/help/diff">
2393 diff 2401 diff
2394 </a> 2402 </a>
2395 </td><td> 2403 </td><td>
2396 diff repository (or selected files) 2404 diff repository (or selected files)