mercurial/patch.py
changeset 16358 d23197e08d05
parent 16124 0e0060bf2f44
child 16475 1f75c1decdeb
equal deleted inserted replaced
16356:913be8c5139c 16358:d23197e08d05
  1284             if current_file:
  1284             if current_file:
  1285                 rejects += current_file.close()
  1285                 rejects += current_file.close()
  1286                 current_file = None
  1286                 current_file = None
  1287             afile, bfile, first_hunk, gp = values
  1287             afile, bfile, first_hunk, gp = values
  1288             if gp:
  1288             if gp:
  1289                 path = pstrip(gp.path)
       
  1290                 gp.path = pstrip(gp.path)
  1289                 gp.path = pstrip(gp.path)
  1291                 if gp.oldpath:
  1290                 if gp.oldpath:
  1292                     gp.oldpath = pstrip(gp.oldpath)
  1291                     gp.oldpath = pstrip(gp.oldpath)
  1293             else:
  1292             else:
  1294                 gp = makepatchmeta(backend, afile, bfile, first_hunk, strip)
  1293                 gp = makepatchmeta(backend, afile, bfile, first_hunk, strip)