~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_workingtree.py

  • Committer: Aaron Bentley
  • Date: 2007-07-17 13:27:14 UTC
  • mfrom: (2624 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070717132714-tmzx9khmg9501k51
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
        # set last-revision to one not in the history
302
302
        wt.set_last_revision('A')
303
303
        # set it back to None for an empty tree.
304
 
        wt.set_last_revision(None)
 
304
        wt.set_last_revision('null:')
305
305
        wt.commit('A', allow_pointless=True, rev_id='A')
306
306
        self.assertEqual(['A'], wt.get_parent_ids())
307
307
        # None is aways in the branch
308
 
        wt.set_last_revision(None)
 
308
        wt.set_last_revision('null:')
309
309
        self.assertEqual([], wt.get_parent_ids())
310
310
        # and now we can set it to 'A'
311
311
        # because some formats mutate the branch to set it on the tree