[PATCH] automatic upgrade to lockdir

David Allouche david at allouche.net
Sat Mar 11 14:52:02 GMT 2006


Those, like me, eagerly tracking bzr.dev and playing with the latest
repository shininess might have noticed that metadir has recently
switched from lockfile locking to lockdir locking without (apparently)
providing any transition support.

As a result, I get plenty of FileExists errors when the lockdir code
tries to mkdir within the existing lockfile. The following patch catches
that error and tries (with minimal checks) to upgrade the lockfile to
lockdir.
-- 
                                                            -- ddaa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockdir-update.patch
Type: text/x-patch
Size: 1361 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060311/3350400d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060311/3350400d/attachment.pgp 


More information about the bazaar mailing list