mercurial/commands.py
changeset 14259 df9ccd39828c
parent 14254 d6a762d93b77
child 14260 00a881581400
--- a/mercurial/commands.py	Sun May 08 17:48:29 2011 +0200
+++ b/mercurial/commands.py	Sun May 08 17:48:30 2011 +0200
@@ -2627,8 +2627,8 @@
                 patch.patch(tmpname, ui, strip=strip, cwd=repo.root,
                             files=files, eolmode=None)
             finally:
-                files = cmdutil.updatedir(ui, repo, files,
-                                          similarity=sim / 100.0)
+                files = patch.updatedir(ui, repo, files,
+                                        similarity=sim / 100.0)
             if opts.get('no_commit'):
                 if message:
                     msgs.append(message)