# HG changeset patch # User Thomas Arendsen Hein # Date 1146136283 -7200 # Node ID 6447a32aefce9c16eaf330db9185151c5523f7c3 # Parent 74f70f2e08aabdf8aeedc7b81265a888dface6dc Make the deprecated forget an alias of debugforget. This way it doesn't show up in the non-debug help. diff -r 74f70f2e08aa -r 6447a32aefce mercurial/commands.py --- a/mercurial/commands.py Thu Apr 27 13:05:02 2006 +0200 +++ b/mercurial/commands.py Thu Apr 27 13:11:23 2006 +0200 @@ -2978,7 +2978,7 @@ ('a', 'text', None, _('treat all files as text')), ('', 'switch-parent', None, _('diff against the second parent'))], _('hg export [-a] [-o OUTFILESPEC] REV...')), - "forget": + "debugforget|forget": (forget, [('I', 'include', [], _('include names matching the given patterns')), ('X', 'exclude', [], _('exclude names matching the given patterns'))], diff -r 74f70f2e08aa -r 6447a32aefce tests/test-help.out --- a/tests/test-help.out Thu Apr 27 13:05:02 2006 +0200 +++ b/tests/test-help.out Thu Apr 27 13:11:23 2006 +0200 @@ -49,7 +49,6 @@ copy mark files as copied for the next commit diff diff repository (or selected files) export dump the header and diffs for one or more changesets - forget don't add the specified files on the next commit (DEPRECATED) grep search for a pattern in specified files and revisions heads show current repository heads help show help for a given command or all commands @@ -92,7 +91,6 @@ copy mark files as copied for the next commit diff diff repository (or selected files) export dump the header and diffs for one or more changesets - forget don't add the specified files on the next commit (DEPRECATED) grep search for a pattern in specified files and revisions heads show current repository heads help show help for a given command or all commands