Mercurial > hg
diff mercurial/pushkey.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 | 7b200566e474 |
children | 57875cf423c9 |