patch: readgitpatch: remove unused variable 'src'
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 24 Aug 2009 14:40:21 +0200
changeset 9392 039bce1b505f
parent 9391 2705e6816d33
child 9393 23c4e772c172
patch: readgitpatch: remove unused variable 'src'
mercurial/patch.py
--- a/mercurial/patch.py	Mon Aug 24 21:00:34 2009 +0200
+++ b/mercurial/patch.py	Mon Aug 24 14:40:21 2009 +0200
@@ -188,7 +188,7 @@
             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: