comparison mercurial/util.py @ 1787:e431344e604c

add a timeout when a lock is held (default 1024 sec) - change the wait keyword from lock.lock to timeout, a negative timeout of means "wait forever" - refactor the two lock functions from localrepo.py - make them use the timeout (default 1024, can be changed with ui.timeout in the config file - update the doc
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 21 Feb 2006 23:21:15 +0100
parents ae61937c61c5
children 7596611ab3d5 b0f6af327fd4 e4abeafd6eb1
comparison
equal deleted inserted replaced
1782:b9671b41e360 1787:e431344e604c