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

  • Committer: Robert Collins
  • Date: 2009-04-29 04:14:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4319.
  • Revision ID: robertc@robertcollins.net-20090429041426-91s1jby1uq6mac1l
Remove too-early checks for revisions adding unnecessary round trips, at the cost of actually reading revision data when pulling (because we currently don't have a hint as about whats local for fetch).

Show diffs side-by-side

added added

removed removed

Lines of Context:
321
321
        self.assertEqual(1, self._count_log_matches('branch/format', http_logs))
322
322
        self.assertEqual(1, self._count_log_matches('repository/format',
323
323
            http_logs))
 
324
        self.assertEqual(1, self._count_log_matches('revisions.kndx',
 
325
            http_logs))
324
326
        self.assertTrue(1 >= self._count_log_matches('revision-history',
325
327
                                                     http_logs))
326
328
        self.assertTrue(1 >= self._count_log_matches('last-revision',
327
329
                                                     http_logs))
328
 
        self.assertEqual(4, len(http_logs))
 
330
        self.assertLength(5, http_logs)
329
331
 
330
332
 
331
333
class TestKnitToPackFetch(TestCaseWithTransport):