D6660: commands: removed part of description from abort and continue

taapas1128 (Taapas Agrawal) phabricator at mercurial-scm.org
Thu Jul 18 20:21:02 UTC 2019


taapas1128 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The description for registration of new `continuefunc` or `abortfunc`
  is removed as it is not required from user perspective.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6660

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -141,8 +141,6 @@
     and unshelve if they are in an unfinished state.
 
     use --dry-run/-n to dry run the command.
-    A new operation can be added to this by registering the operation and
-    abort logic in the unfinishedstates list under statemod.
     """
     dryrun = opts.get(r'dry_run')
     abortstate = cmdutil.getunfinishedstate(repo)
@@ -1903,8 +1901,6 @@
     and unshelve if they are in an interrupted state.
 
     use --dry-run/-n to dry run the command.
-    A new operation can be added to this by registering the operation and
-    continue logic in the unfinishedstates list under statemod.
     """
     dryrun = opts.get(r'dry_run')
     contstate = cmdutil.getunfinishedstate(repo)



To: taapas1128, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list