~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge trunk

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'])