~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-10 07:46:15 UTC
  • mfrom: (5844 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5845.
  • Revision ID: jelmer@samba.org-20110510074615-eptod049ndjxc4i7
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
932
932
        # its repository.
933
933
        self.make_tree_with_two_commits()
934
934
        rev_id_utf8 = u'\xc8'.encode('utf-8')
935
 
        self.tree.branch.set_revision_history([])
 
935
        self.tree.branch.set_last_revision_info(0, 'null:')
936
936
        self.assertEqual(
937
937
            (0, 'null:'), self.tree.branch.last_revision_info())
938
938
        # We can update the branch to a revision that is present in the