making read locks noops

Robert Collins robertc at robertcollins.net
Wed Mar 1 00:31:56 GMT 2006


So whats needed to make read locks noops ? and where is it safe?

Repository seems safe in all current formats, as long as new
transactions validate the format.

Branch seems safe in all formats too, as mutations there are controlled.

WorkingTree seems less safe because while we never lock user files, a
changed inventory will give us different paths to read user files from,
so we would like the current inventory to be fixed during a read
transaction.... but things like push might be altered to not lock the
working tree at all.


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/20060301/a14a27b3/attachment.pgp 


More information about the bazaar mailing list