help: promote "amend" to important command stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 06 Dec 2017 02:08:37 +0100
branchstable
changeset 3231 996dabc4224b
parent 3230 fed946edc293
child 3232 c1d20598bc2b
child 3233 bd01eb0108f4
help: promote "amend" to important command Recent change to what command we advertise as "basic". It turn out "amend" was not part of one of them. Since "amend" is one of the core command of a rewriting workflow, we promote it to "basic command".
hgext3rd/evolve/cmdrewrite.py
--- a/hgext3rd/evolve/cmdrewrite.py	Tue Dec 05 16:11:08 2017 -0800
+++ b/hgext3rd/evolve/cmdrewrite.py	Wed Dec 06 02:08:37 2017 +0100
@@ -71,7 +71,7 @@
 interactiveopt = [['i', 'interactive', None, _('use interactive mode')]]
 
 @eh.command(
-    'amend|refresh',
+    '^amend|refresh',
     [('A', 'addremove', None,
       _('mark new/missing files as added/removed before committing')),
      ('a', 'all', False, _("match all files")),