attn folk doing reviews.
Robert Collins
robertc at robertcollins.net
Sun Jan 22 22:50:55 GMT 2006
Two things... what do you think of some review guidelines as an aid to
memory on the wiki ? I think the peer review thing is working well, but
that will make it clear to folk submitting code what we are looking for.
Secondly, I've noticed a couple of times though is that new methods are
not getting @needs_read_lock or @needs_write_lock decorators. Generally
speaking I think any method in the WorkingTree, Branch and Repository
classes will need such a decorator *unless* its
* a trivial wrapper. Note that a wrapper/convenience function that
mutates anything will almost certainly need needs_write_lock.
* unrelated to the persistent storage of the object.
I.e. most recently the fileid_involved methods - they read the inventory
weave, and they dont take out a transaction themselves, and neither does
self._get_inventory_weave().
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: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060123/2e96fc05/attachment.pgp
More information about the bazaar
mailing list