Patchwork D12485: help: add ammend to basic help page

login
register
mail settings
Submitter phabricator
Date April 8, 2022, 10:13 a.m.
Message ID <differential-rev-PHID-DREV-ipj5vel6c7is43dhguof-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50831/
State New
Headers show

Comments

phabricator - April 8, 2022, 10:13 a.m.
czom created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  If you run just "hg", unammend is on the list, but ammend is not. This change adds ammend to the list to be consistent.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  hgext/amend.py

CHANGE DETAILS




To: czom, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/hgext/amend.py b/hgext/amend.py
--- a/hgext/amend.py
+++ b/hgext/amend.py
@@ -55,6 +55,7 @@ 
     _(b'[OPTION]... [FILE]...'),
     helpcategory=command.CATEGORY_COMMITTING,
     inferrepo=True,
+    helpbasic=True,
 )
 def amend(ui, repo, *pats, **opts):
     """amend the working copy parent with all or specified outstanding changes