changeset 9392:039bce1b505f

patch: readgitpatch: remove unused variable 'src'
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Mon, 24 Aug 2009 14:40:21 +0200
parents 2705e6816d33
children 23c4e772c172
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: