← Back to team overview

vcs-fast-import-devs team mailing list archive

RFC: Substitution of marks to commit-ids in log messages

 

I am working on a conversion, in which I want to refer to
destination-VCS's commit ids in revision log messages - i.e. I want to
insert text into commit messages which says something like
 "Cherrypick <git-hash-or-bzr-revid-or-...-goes-here>".

The obvious problem is that the tool writing the fastimport stream
doesn't know these, because they only get allocated by the importer.

I would like to propose that a new importer feature be declared,
"commit-message-mark-expansion", in which the importer is expected to
substitute substrings of commit messages looking like <{[:12345]}> with
the destination VCS's native revision id for the given mark.

What do you think?

Max.

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups