mercurial/patch.py
branchstable
changeset 14695 e4d3370fa234
parent 14658 7ddf9a607b75
child 14764 a7d5816087a9
--- 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: