Comment 4 for bug 220464

Revision history for this message
Stefan Monnier (monnier) wrote : Re: [Bug 220464] Re: Bazaar doesn't detect its own stale locks

> Detecting and automatically cleaning them up is probably more reliable
> than trying to always make sure we release them before closing down,
> which is what bug 257217 asks for.

It's not an either/or: stale locks are inevitable but are a pain in the
rear so they should be avoided as much as possible. I.e. Bazaar should
try to automatically clean stale locks *and* it should try harder to
clean after itself when it exits unexpectedly so as to avoid leaving
stale locks around (because automatic detection is often impossible
when the lock is help by some remote process).

        Stefan