Mercurial > hg-stable
diff hg @ 10604:9a36d159595f
keyword: remove spurious locks, improve handling of wlock
- kwcommitctx is inside the wlock of repo.commit: no lock
- _kwfwrite only needs wlock
wlock outside try block, so we don't need to import lock.release
_kwfwrite should even be safer that way, as we moved the status
call inside the try-except block.
Thanks to Benoit Boissinot for help.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Sun, 07 Mar 2010 13:03:03 +0100 |
parents | 25e572394f5c |
children | 10da5a1f25dd |