[PATCH] patch: fix typo in variable name

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Mon Jun 20 02:30:48 CDT 2011


# HG changeset patch
# User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
# Date 1308555003 -7200
# Branch stable
# Node ID 556da009286f65dd10d61c52636e1a5bc55fde0c
# Parent  15faf0e66909286e9ca88f536a160db1d2fc6aac
patch: fix typo in variable name

diff --git a/mercurial/patch.py b/mercurial/patch.py
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -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:


More information about the Mercurial-devel mailing list