Mercurial > hg > mercurial-crew-with-dirclash
view hg @ 5053:47a8ea1eb2c3
del transaction before lock before wlock
This way rollbacks happen while the repo is still locked.
Deleting lock before wlock is not strictly necessary, but is
more consistent with the locking order.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 02 Aug 2007 01:56:08 -0300 |
parents | 63b9d2deed48 |
children | 18a9fbb5cd78 |
line wrap: on
line source
#!/usr/bin/env python # # mercurial - scalable distributed SCM # # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. import mercurial.commands mercurial.commands.run()