# HG changeset patch # User Nicolas Dumazet # Date 2009-08-24 12:40:21 # Node ID 039bce1b505fdc79d0782c1ebcd66c2eba17b94d # Parent 2705e6816d33a2a2948950683b1e023d6f4ef6e2 patch: readgitpatch: remove unused variable 'src' diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -188,7 +188,7 @@ def readgitpatch(lr): if m: if gp: gitpatches.append(gp) - src, dst = m.group(1, 2) + dst = m.group(2) gp = patchmeta(dst) gp.lineno = lineno elif gp: