diff mercurial/commands.py @ 2184:2477a7183a6f

Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'. Add an explicit description of 'hg commit --addremove'.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 03 May 2006 10:53:51 +0200
parents 690da72b0b16
children e3eba577a0ae
line wrap: on
line diff
--- a/mercurial/commands.py	Wed May 03 10:45:20 2006 +0200
+++ b/mercurial/commands.py	Wed May 03 10:53:51 2006 +0200
@@ -2929,7 +2929,7 @@
          [('I', 'include', [], _('include names matching the given patterns')),
           ('X', 'exclude', [], _('exclude names matching the given patterns'))],
          _('hg add [OPTION]... [FILE]...')),
-    "addremove":
+    "debugaddremove|addremove":
         (addremove,
          [('I', 'include', [], _('include names matching the given patterns')),
           ('X', 'exclude', [], _('exclude names matching the given patterns'))],
@@ -2989,7 +2989,8 @@
          _('hg clone [OPTION]... SOURCE [DEST]')),
     "^commit|ci":
         (commit,
-         [('A', 'addremove', None, _('run addremove during commit')),
+         [('A', 'addremove', None,
+           _('mark new/missing files as added/removed before committing')),
           ('m', 'message', '', _('use <text> as commit message')),
           ('l', 'logfile', '', _('read the commit message from <file>')),
           ('d', 'date', '', _('record datecode as commit date')),