help me understand test_fetch_no_inventory_revision

Robert Collins robertc at robertcollins.net
Sun Sep 23 23:03:46 BST 2007


On Mon, 2007-09-24 at 06:24 +1000, Robert Collins wrote:
> Hi Aaron, in revision 1910.2.40.1.1 you added a
> test_interrepository.test_fetch_no_inventory_revision.
> 
> I'm not sure what this is meant to test; its being triggered by the
> InterPack fetch optimiser, which fails currently. But I'm not sure why
> its failing, and the monkey patching of deserialise_inventory seems
> unrelated to what the optimisers do (any native format optimiser is
> unlikely to deserialise the full inventory ...)
> 
> I'm going to track down why it fails, but it sure would help me have a
> quick note on what its trying to test, any why the monkey patching is
> needed.

Well, I've fixed the bug, which was real - but that test still confuses
heck outta me.

-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/20070924/58cc87e3/attachment.pgp 


More information about the bazaar mailing list