diff -r 1ed2dc9d4368 -r 00658492e2aa mercurial/commands.py --- a/mercurial/commands.py Sun Sep 12 16:10:41 2010 +0900 +++ b/mercurial/commands.py Mon Sep 13 13:08:09 2010 +0200 @@ -2301,8 +2301,8 @@ patch.patch(tmpname, ui, strip=strip, cwd=repo.root, files=files, eolmode=None) finally: - files = patch.updatedir(ui, repo, files, - similarity=sim / 100.0) + files = cmdutil.updatedir(ui, repo, files, + similarity=sim / 100.0) if not opts.get('no_commit'): if opts.get('exact'): m = None