changeset 16358:d23197e08d05

patch: remove useless variable assignment
author Patrick Mezard <patrick@mezard.eu>
date Thu, 05 Apr 2012 19:23:04 +0200
parents 913be8c5139c
children e5788269741a
files mercurial/patch.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py	Wed Apr 04 11:19:09 2012 +0200
+++ b/mercurial/patch.py	Thu Apr 05 19:23:04 2012 +0200
@@ -1286,7 +1286,6 @@
                 current_file = None
             afile, bfile, first_hunk, gp = values
             if gp:
-                path = pstrip(gp.path)
                 gp.path = pstrip(gp.path)
                 if gp.oldpath:
                     gp.oldpath = pstrip(gp.oldpath)