diff -r f9c056f48018 -r e4d3370fa234 mercurial/patch.py --- a/mercurial/patch.py Fri Jun 17 19:28:38 2011 -0300 +++ b/mercurial/patch.py Mon Jun 20 09:30:03 2011 +0200 @@ -1378,7 +1378,7 @@ cwd = repo.getcwd() if cwd: cfiles = [util.pathto(repo.root, cwd, f) - for f in cfile] + for f in cfiles] scmutil.addremove(repo, cfiles, similarity=similarity) code = fp.close() if code: