comparison hgext/notify.py @ 41107:3e2c02836420

transaction: do not overwrite atomic-temp files on error Even though the original files can be restored from the backup, it should be better to not write back a temporary file if we know it can be corrupted.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 23 Dec 2018 12:39:20 +0900
parents f6ef89cf8234
children 43f9b8c0574b
comparison
equal deleted inserted replaced
41106:dc56a6273575 41107:3e2c02836420