diff mercurial/commands.py @ 14321:003d63bb4fa5

scmutil: drop some aliases in cmdutil
author Matt Mackall <mpm@selenic.com>
date Fri, 13 May 2011 14:48:48 -0500
parents b33f3e35efb0
children a90131b85fd8
line wrap: on
line diff
--- a/mercurial/commands.py	Fri May 13 14:07:16 2011 -0500
+++ b/mercurial/commands.py	Fri May 13 14:48:48 2011 -0500
@@ -195,7 +195,7 @@
         raise util.Abort(_('similarity must be a number'))
     if sim < 0 or sim > 100:
         raise util.Abort(_('similarity must be between 0 and 100'))
-    return cmdutil.addremove(repo, pats, opts, similarity=sim / 100.0)
+    return scmutil.addremove(repo, pats, opts, similarity=sim / 100.0)
 
 @command('^annotate|blame',
     [('r', 'rev', '', _('annotate the specified revision'), _('REV')),