Comment 1 for bug 588431

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 588431] [NEW] bzr locks persist across reboots

We use the persistent locks when accessing branch and repository
objects over FTP and SFTP, and we need, for correctness, to exclude
FTP and SFTP writers when you are doing a local operation: if they
didn't share locks, Bad Things would trivially happen.

Its because these locks are exposed in such a way that SFTP and FTP
access can take and release them that they persist.

I do agree that an automatic-break when:
 - the lock was obtained by this machine
 - the machine's uptime is less than the age of the lock

might be nice.