380
380
def import_git_commit(repo, mapping, head, lookup_object,
383
383
# Note that this uses mapping.revision_id_foreign_to_bzr. If the parents
384
384
# were bzr roundtripped revisions they would be specified in the
386
386
rev, roundtrip_revid, verifiers = mapping.import_commit(
388
388
if roundtrip_revid is not None:
389
389
original_revid = rev.revision_id
390
390
rev.revision_id = roundtrip_revid