stale lock, patch
Matt Mackall
mpm at selenic.com
Thu Jan 5 05:37:46 UTC 2006
On Thu, Jan 05, 2006 at 06:28:45AM +0100, Eirik Nygaard wrote:
> I was having some troubles with a stale lock, here is the patch:
> http://www.pvv.ntnu.no/~eirikald/mercurial-lock.patch
Please attach patches (one per email). It makes them easier to review
and queue.
> "Check if the process that owns the current lock still is alive. If it is not
> we can take the lock for our self."
Looks reasonable. Though we probably want to move the int() into
util.readlock. I also have no idea if your technique for checking if a
process is still running will work on Windows.
Any idea why you're getting stale locks?
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list