diff mercurial/commands.py @ 2955:9d1c3529ebbc

addremove: do not deprecate. command is too useful to drop. is also best place to try autodetect of rename/copy by content similarity.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sun, 23 Jul 2006 09:04:14 -0700
parents 001703ec311d
children 6dddcba7596a
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jul 19 07:56:40 2006 -0700
+++ b/mercurial/commands.py	Sun Jul 23 09:04:14 2006 -0700
@@ -710,17 +710,11 @@
 def addremove(ui, repo, *pats, **opts):
     """add all new files, delete all missing files (DEPRECATED)
 
-    (DEPRECATED)
     Add all new files and remove all missing files from the repository.
 
     New files are ignored if they match any of the patterns in .hgignore. As
     with add, these changes take effect at the next commit.
-
-    This command is now deprecated and will be removed in a future
-    release. Please use add and remove --after instead.
     """
-    ui.warn(_('(the addremove command is deprecated; use add and remove '
-              '--after instead)\n'))
     return addremove_lock(ui, repo, pats, opts)
 
 def addremove_lock(ui, repo, pats, opts, wlock=None):
@@ -2815,7 +2809,7 @@
           ('X', 'exclude', [], _('exclude names matching the given patterns')),
           ('n', 'dry-run', None, _('do not perform actions, just print output'))],
          _('hg add [OPTION]... [FILE]...')),
-    "debugaddremove|addremove":
+    "addremove":
         (addremove,
          [('I', 'include', [], _('include names matching the given patterns')),
           ('X', 'exclude', [], _('exclude names matching the given patterns')),