415
415
# This is a duplicate of Builder.commit() since we already have the
416
416
# Revision object, and we *don't* want to call commit_write_group()
417
417
rev.inv_sha1 = builder.inv_sha1
422
419
builder.repository.add_revision(builder._new_revision_id, rev,
424
421
if self._graph is not None:
425
422
# TODO: Use StaticTuple and .intern() for these things
426
423
self._graph.add_node(builder._new_revision_id, rev.parent_ids)