Shawn O. Pearce wrote:
> Max Bowsher <m...@f2s.com> wrote:

>> 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.
> 
> Makes sense.  But what if the message contains a literal :n?  E.g.
> the message:
> 
>   Fixed URLs with non-standard ports like http://foo:8080/
> 
> If we are going to start parsing the message content we probably
> should have some sort of escape that allows the frontend to protect
> some of it from the replacement parsing, so literal :n can be passed
> through at the same time that a different :n is updated with the
> revision identifier.

Would it be better to explicitly mark commit messages needing expansion?
By using a 'template' command in place of a 'data' command say?

Ian C.

_______________________________________________
Mailing list: https://launchpad.net/~vcs-fast-import-devs
Post to     : vcs-fast-import-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~vcs-fast-import-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to