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)
520
520
self.addCleanup(to_repo.unlock)
521
521
stream = to_repo.inventories.get_record_stream([('foo-id',)],