/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: Canonical.com Patch Queue Manager
  • Date: 2009-03-13 06:21:42 UTC
  • mfrom: (4110.2.26 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20090313062142-ndr3o27uwgysx9dv
(mbp) fetch progress bars, code cleanups, and debug-flags topic

Show diffs side-by-side

added added

removed removed

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