~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2010-02-04 16:06:36 UTC
  • mfrom: (5007 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5023.
  • Revision ID: john@arbash-meinel.com-20100204160636-xqeuwz8bwt8bbts4
Merge bzr.dev 5007, resolve conflict, update NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2008 Canonical Ltd
 
1
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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',)],