changeset 14695:e4d3370fa234 stable

patch: fix typo in variable name
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Mon, 20 Jun 2011 09:30:03 +0200
parents f9c056f48018
children 5fb3cb7266e5
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: