patch: fix typo in variable name stable
authorPeter Arrenbrecht <peter.arrenbrecht@gmail.com>
Mon, 20 Jun 2011 09:30:03 +0200
branchstable
changeset 14695 e4d3370fa234
parent 14693 f9c056f48018
child 14696 5fb3cb7266e5
patch: fix typo in variable name
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: