changeset 2140:6447a32aefce

Make the deprecated forget an alias of debugforget. This way it doesn't show up in the non-debug help.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 27 Apr 2006 13:11:23 +0200
parents 74f70f2e08aa
children ed631e83fa06
files mercurial/commands.py tests/test-help.out
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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