/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/interrepository_implementations/test_fetch.py

  • Committer: Martin Pool
  • Date: 2009-03-11 07:55:14 UTC
  • mto: This revision was merged to the branch mainline in revision 4144.
  • Revision ID: mbp@sourcefrog.net-20090311075514-9vudl1frb30ng8sb
Deprecate passing pbs in to fetch()

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        def check_push_rev1(repo):
52
52
            # ensure the revision is missing.
53
53
            self.assertRaises(NoSuchRevision, repo.get_revision, 'rev1')
54
 
            # fetch with a limit of NULL_REVISION and an explicit progress bar.
 
54
            # fetch with a limit of NULL_REVISION
55
55
            repo.fetch(tree_a.branch.repository,
56
 
                       revision_id=NULL_REVISION,
57
 
                       pb=bzrlib.progress.DummyProgress())
 
56
                       revision_id=NULL_REVISION)
58
57
            # nothing should have been pushed
59
58
            self.assertFalse(repo.has_revision('rev1'))
60
59
            # fetch with a default limit (grab everything)