/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_branch.py

  • Committer: Andrew Bennetts
  • Date: 2008-03-27 06:10:18 UTC
  • mfrom: (3309 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3320.
  • Revision ID: andrew.bennetts@canonical.com-20080327061018-dxztpxyv6yoeg3am
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
        wt = self.make_branch_and_tree('.')
215
215
        wt.set_parent_ids(['non:existent@rev--ision--0--2'],
216
216
            allow_leftmost_as_ghost=True)
 
217
        self.assertEqual(['non:existent@rev--ision--0--2'],
 
218
            wt.get_parent_ids())
217
219
        rev_id = wt.commit('commit against a ghost first parent.')
218
220
        rev = wt.branch.repository.get_revision(rev_id)
219
221
        self.assertEqual(rev.parent_ids, ['non:existent@rev--ision--0--2'])