--- 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')),