~jameinel/bzr/1.16-chk-direct

Viewing all changes in revision 4427.

  • Committer: John Arbash Meinel
  • Date: 2009-06-18 18:18:36 UTC
  • Revision ID: john@arbash-meinel.com-20090618181836-biodfkat9a8eyzjz
The new add_inventory_by_delta is returning a CHKInventory when mapping from NULL
Which is completely valid, but 'broke' one of the tests.
So to fix it, changed the test to use CHKInventories on both sides, and add an __eq__
member. The nice thing is that CHKInventory.__eq__ is fairly cheap, since it only
has to check the root keys.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: