Mercurial > hg
diff hgdemandimport/tracing.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 | 452790284a15 |
children | d0b8a3cfd732 |