Mercurial > hg
comparison tests/test-flags.t @ 17472:965fbe04fd96
amend: wrap all commit operations in a single transaction
This allows proper recovery of an interrupted amend process.
No changes are made to the logic besides:
- indent operations into a single try-except clause,
- some comment and code wrapping to 80 chars,
- strip logic should not be contained in the transaction and is extracted from
the main code.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 10 Sep 2012 23:44:24 +0200 |
parents | b87acfda5268 |
children | 44bda93df90e |
comparison
equal
deleted
inserted
replaced
17471:ad1561723dde | 17472:965fbe04fd96 |
---|