# HG changeset patch # User Peter Arrenbrecht # Date 2011-06-20 07:30:03 # Node ID e4d3370fa23473b137edcd95fa843c7ecf6da64e # Parent f9c056f48018611504f8e08e83cefcb42c8a2641 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 @@ def _externalpatch(ui, repo, patcher, pa 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: