Make the deprecated forget an alias of debugforget.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 27 Apr 2006 13:11:23 +0200
changeset 2140 6447a32aefce
parent 2139 74f70f2e08aa
child 2141 ed631e83fa06
Make the deprecated forget an alias of debugforget. This way it doesn't show up in the non-debug help.
mercurial/commands.py
tests/test-help.out
--- 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'))],
--- 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