~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/interrepository_implementations/test_interrepository.py

Merge Tree.changes_from work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                           UninitializableFormat,
29
29
                           NotBranchError,
30
30
                           )
 
31
from bzrlib.inventory import Inventory
31
32
import bzrlib.repository as repository
32
33
from bzrlib.revision import NULL_REVISION, Revision
33
34
from bzrlib.tests import TestCase, TestCaseWithTransport, TestSkipped
247
248
        # repository.
248
249
 
249
250
        # 'ghost' is a ghost in missing_ghost and not in with_ghost_rev
250
 
        inv = bzrlib.tree.EmptyTree().inventory
 
251
        inv = Inventory()
251
252
        repo = self.make_repository('with_ghost_rev')
252
253
        sha1 = repo.add_inventory('ghost', inv, [])
253
254
        rev = bzrlib.revision.Revision(timestamp=0,