270
270
# revisions. For knits when they are introduced we will probably want
271
271
# to ensure that caching write transactions are in use.
272
272
inv = self.get_inventory_weave()
276
286
if parent_id in weave_names:
277
287
# this parent must not be a ghost.
278
288
if not parent_id in weave_parents:
280
290
raise errors.CorruptRepository(self)
284
293
def get_revision_sha1(self, revision_id):