[MERGE] Handle lock contention on NFS

Aaron Bentley aaron.bentley at utoronto.ca
Tue Mar 28 22:39:23 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unlike local filesystems, NFS produces EBUSY when you try to rename a
directory on top of one already present.  This patch fixes that.

It also adds a FakeNFSTransport to use for testing NFS-specific
behaviour.  It also adds support for the fake NFS transport on the
commandline:
bzr selftest --transport fakenfs lockdir

All the lockdir tests pass, but others which assume a local transport do
not.

Branch at: http://panoramicfeedback.com/opensource/bzr/repo/nfslocks/

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEKa0L0F+nu1YWqI0RAhgPAJwMahXa99GCXqnVRxFoiRFLFa1IRwCfaQvH
ShSa/k1KuVL3zqDm4Go9z6w=
=hU0W
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfslocks.patch
Type: text/x-patch
Size: 5391 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060328/69249243/attachment.bin 


More information about the bazaar mailing list