267
267
if not wt.branch.repository._format.supports_ghosts:
268
268
raise tests.TestNotApplicable(
269
269
'format does not support ghosts')
271
271
allow_leftmost_as_ghost=True)
272
272
rev_id = wt.commit('commit against a ghost first parent.')
273
273
rev = wt.branch.repository.get_revision(rev_id)
275
275
# parent_sha1s is not populated now, WTF. rbc 20051003
276
276
self.assertEqual(len(rev.parent_sha1s), 0)