/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-31 12:28:55 UTC
  • mfrom: (4988.3.2 cleanup-repo)
  • Revision ID: pqm@pqm.ubuntu.com-20100131122855-lmwqnehfxn3wkm94
(Jelmer) Remove Repository.get_inventory_sha1().

Show diffs side-by-side

added added

removed removed

Lines of Context:
515
515
        from_tree.commit('foo', rev_id='foo-id')
516
516
        to_repo = self.make_to_repository('to')
517
517
        to_repo.fetch(from_tree.branch.repository)
518
 
        recorded_inv_sha1 = to_repo.get_inventory_sha1('foo-id')
 
518
        recorded_inv_sha1 = to_repo.get_revision('foo-id').inventory_sha1
519
519
        to_repo.lock_read()
520
520
        self.addCleanup(to_repo.unlock)
521
521
        stream = to_repo.inventories.get_record_stream([('foo-id',)],