comparison mercurial/demandimport.py @ 18197:153659e86a5f stable

amend: invalidate dirstate in case of failure (issue3670) The temporary commit created by amend update the dirstate. If the final commit fails, we need to invalidate the change made to the dirstate, otherwise the release of the wlock will write the dirstate created after the rollbacked temporary commit. This dirstate writing logic should probably be handled in the same object than the transaction one. However such change are too big for stable.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sat, 29 Dec 2012 18:00:18 +0100
parents 868282fa29d8
children e3a5922e18c3
comparison
equal deleted inserted replaced
18194:18fef98618cd 18197:153659e86a5f