[RFC] bug in write lock?

Robert Collins robertc at robertcollins.net
Fri Aug 4 03:06:53 BST 2006


On Thu, 2006-08-03 at 12:01 +0200, Jan Balster wrote:
> Hi all,
> 
> yesterday I noticed a strange behavior of one of my scripts, which accesses a 
> bzr branch locally. The reason was that at the same time the branch was being 
> updated (a push) over sftp and both (script and sftp transport) could acquire a 
> write lock. After reading the code and some experiments I wrote this test:
..
> My question now is, is this behavior expected or is it a bug?
> And if it's a feature how can i tell a script to wait until the branch is updated?

It looks like you are using an old format branch. Run 'bzr upgrade' and
it will upgrade you to a disk format that does not have this defect.

The defect is with the pre-metadir disklayout and is not correctable.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060804/c884c1fb/attachment-0001.pgp 


More information about the bazaar mailing list