# HG changeset patch # User Kyle Lippincott # Date 1512518930 28800 # Node ID 63f6f9db9c3a04cc015f0092b2ef0c35969e3b72 # Parent 8cc8fb94cc007a894f2d7e789cb9602cc0ab3399 help: remove a few commands from `hg` (no args) command list According to `hg help -e evolve`, the following commands come from the evolve extension: amend evolve fold metaedit next obslog pdiff previous prune pstatus split touch uncommit If one runs `hg` without arguments, commands that are prefixed with a ^ character are shown. From the previous list, this includes: evolve fold metaedit next previous prune split touch uncommit It feels several of these commands are not "basic commands" that someone who has never used hg before might care about. They probably also do not come close to passing the "toothbrush test": things that users are likely to use every day. This commit removes these items from the list: metaedit, touch, uncommit This means the following are kept: evolve fold next previous prune split diff -r 8cc8fb94cc00 -r 63f6f9db9c3a hgext3rd/evolve/cmdrewrite.py --- a/hgext3rd/evolve/cmdrewrite.py Mon Dec 04 14:27:27 2017 -0800 +++ b/hgext3rd/evolve/cmdrewrite.py Tue Dec 05 16:08:50 2017 -0800 @@ -284,7 +284,7 @@ ds.copy(src, dst) @eh.command( - '^uncommit', + 'uncommit', [('a', 'all', None, _('uncommit all changes when no arguments given')), ('i', 'interactive', False, _('interactive mode to uncommit (EXPERIMENTAL)')), ('r', 'rev', '', _('revert commit content to REV instead')), @@ -590,7 +590,7 @@ lockmod.release(lock, wlock) @eh.command( - '^metaedit', + 'metaedit', [('r', 'rev', [], _("revision to edit")), ('', 'fold', None, _("also fold specified revisions into one")), ] + commitopts + commitopts2 + commitopts3, @@ -990,7 +990,7 @@ lockmod.release(tr, lock, wlock) @eh.command( - '^touch', + 'touch', [('r', 'rev', [], 'revision to update'), ('D', 'duplicate', False, 'do not mark the new revision as successor of the old one'),