/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: John Arbash Meinel
  • Date: 2008-03-14 10:55:37 UTC
  • mfrom: (3275 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3281.
  • Revision ID: john@arbash-meinel.com-20080314105537-v9h2ue0uxvs1dyn6
[merge] bzr.dev 3275

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