~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir/test_controldir.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:
323
323
        target = dir.clone(self.get_url('target/child'))
324
324
        self.assertNotEqual(dir.transport.base, target.transport.base)
325
325
        self.assertRaises(errors.NoRepositoryPresent, target.open_repository)
326
 
        self.assertEqual(source.revision_history(),
327
 
                         target.open_branch().revision_history())
 
326
        self.assertEqual(source.last_revision(),
 
327
                         target.open_branch().last_revision())
328
328
 
329
329
    def test_clone_bzrdir_branch_revision(self):
330
330
        # test for revision limiting, [smoke test, not corner case checks].