diff mercurial/url.py @ 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 72803c8edaa4
children ffec6d0a5ed6
line wrap: on
line diff