~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_too_much.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-26 15:42:24 UTC
  • mfrom: (6165.2.3 avoid-revision-history)
  • Revision ID: pqm@pqm.ubuntu.com-20110926154224-by4s1qzbroh115wn
(jelmer) Remove several calls to Branch.revision_history(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
564
564
        url = self.get_readonly_url('from')
565
565
        self.run_bzr(['branch', url, 'to'])
566
566
        branch = Branch.open('to')
567
 
        self.assertEqual(1, len(branch.revision_history()))
 
567
        self.assertEqual(1, branch.last_revision_info()[0])
568
568
        # the branch should be set in to to from
569
569
        self.assertEqual(url + '/', branch.get_parent())
570
570