~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-05 13:13:43 UTC
  • mfrom: (3240.1.7 faster_generate_history)
  • Revision ID: pqm@pqm.ubuntu.com-20080305131343-toq33x607hecihie
Accelerate Branch revision-history operations, looms (abentley)

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