diff mercurial/patch.py @ 16358:d23197e08d05

patch: remove useless variable assignment
author Patrick Mezard <patrick@mezard.eu>
date Thu, 05 Apr 2012 19:23:04 +0200
parents 0e0060bf2f44
children 1f75c1decdeb
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)