comparison mercurial/patch.py @ 43735:7eb701e355bd

merge with stable
author Yuya Nishihara <yuya@tcha.org>
date Fri, 22 Nov 2019 21:42:04 +0900
parents d649de29f1ff eab0b7383cd3
children be8552f25cab
comparison
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: