--- 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)