~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_update.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:
68
68
        # commit to the master making the child tree out of date and not a prefix.
69
69
        master_tree.commit('bar', rev_id='bar', allow_pointless=True)
70
70
        self.assertEqual('foo', child_tree.branch.update())
71
 
        self.assertEqual(['bar'], child_tree.branch.revision_history())
 
71
        self.assertEqual('bar', child_tree.branch.last_revision())
72
72
 
73
73
    def test_update_in_checkout_of_readonly(self):
74
74
        tree1 = self.make_branch_and_tree('tree1')