~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_interrepository/test_fetch.py

  • Committer: Patch Queue Manager
  • Date: 2012-02-22 13:39:51 UTC
  • mfrom: (6470.1.1 less-inventory-use-2)
  • Revision ID: pqm@pqm.ubuntu.com-20120222133951-cqvnnx710wox7905
(jelmer) Use inventories directly in fewer places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
383
383
        (stacked_left_tree,
384
384
         stacked_right_tree) = new_stacked_branch.repository.revision_trees(
385
385
            ['left', 'right'])
386
 
        self.assertEqual(left_tree.root_inventory,
387
 
                stacked_left_tree.root_inventory)
388
 
        self.assertEqual(right_tree.root_inventory,
389
 
                stacked_right_tree.root_inventory)
 
386
        self.assertEqual(left_tree, stacked_left_tree)
 
387
        self.assertEqual(right_tree, stacked_right_tree)
390
388
        # Finally, it's not enough to see that the basis inventories are
391
389
        # present.  The texts introduced in merge (and only those) should be
392
390
        # present, and also generating a stream should succeed without blowing