140
140
def test_record_initial_ghost(self):
141
141
"""The working tree needs to record ghosts during commit."""
142
142
wt = self.make_branch_and_tree('.')
144
145
rev_id = wt.commit('commit against a ghost first parent.')
145
146
rev = wt.branch.repository.get_revision(rev_id)
146
147
self.assertEqual(rev.parent_ids, ['non:existent@rev--ision--0--2'])