/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 tests/test_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-16 21:13:17 UTC
  • mto: (0.200.527 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20090516211317-a0s14tsrf2qusapf
Fix tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
from bzrlib.plugins.git.mapping import (
41
41
    default_mapping,
42
42
    )
 
43
from bzrlib.plugins.git.object_store import (
 
44
    BazaarObjectStore,
 
45
    )
43
46
from bzrlib.plugins.git.push import (
44
47
    MissingObjectsIterator,
45
48
    )
209
212
                                   self.git_repo)
210
213
 
211
214
    def object_iter(self):
212
 
        return MissingObjectsIterator(self.bzr_tree.branch.repository, 
213
 
                                      default_mapping)
 
215
        store = BazaarObjectStore(self.bzr_tree.branch.repository, default_mapping)
 
216
        return MissingObjectsIterator(store, self.bzr_tree.branch.repository)
214
217
 
215
218
    def import_rev(self, revid, parent_lookup=None):
216
219
        return self.object_iter().import_revision(revid)