mercurial/patch.py
changeset 43735 7eb701e355bd
parent 43649 d649de29f1ff
parent 43723 eab0b7383cd3
child 43787 be8552f25cab
equal deleted inserted replaced
43733:8ca92bcb3083 43735:7eb701e355bd
  2288                     backend.setfile(gp.path, data, mode, gp.oldpath)
  2288                     backend.setfile(gp.path, data, mode, gp.oldpath)
  2289                 continue
  2289                 continue
  2290             try:
  2290             try:
  2291                 current_file = patcher(ui, gp, backend, store, eolmode=eolmode)
  2291                 current_file = patcher(ui, gp, backend, store, eolmode=eolmode)
  2292             except PatchError as inst:
  2292             except PatchError as inst:
  2293                 ui.warn(str(inst) + b'\n')
  2293                 ui.warn(stringutil.forcebytestr(inst) + b'\n')
  2294                 current_file = None
  2294                 current_file = None
  2295                 rejects += 1
  2295                 rejects += 1
  2296                 continue
  2296                 continue
  2297         elif state == b'git':
  2297         elif state == b'git':
  2298             for gp in values:
  2298             for gp in values: