D1716: completion: add support for new "amend" command

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Dec 18 19:25:16 UTC 2017


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

REVISION SUMMARY
  The command is now shipped with Mercurial, but completion should be
  helpful (and accurate) for users of the amend command shipped with the
  evolve extension too.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  contrib/bash_completion

CHANGE DETAILS

diff --git a/contrib/bash_completion b/contrib/bash_completion
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -296,7 +296,7 @@
         merge)
             _hg_labels
         ;;
-        commit|ci|record)
+        commit|ci|record|amend)
             _hg_status "mar"
         ;;
         remove|rm)



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


More information about the Mercurial-devel mailing list