mercurial/commands.py
changeset 14321 003d63bb4fa5
parent 14319 b33f3e35efb0
child 14322 a90131b85fd8
--- 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')),