Ian Clatworthy <ian.clatwor...@canonical.com> wrote:
> Shawn O. Pearce wrote:
> > Ian Clatworthy <ian.clatwor...@canonical.com> wrote:
> >> Would it be better to explicitly mark commit messages needing expansion?
> >> By using a 'template' command in place of a 'data' command say?
> > 
> > How does that help escaping ":8080" in a commit message that needs
> > this replacement for ":43" but not for ":8080" (as the latter was
> > literally in the source)?
> Good point - it doesn't.
> I was thinking more about stopping accidental interpolation, assuming
> the vast majority of messages wouldn't want it, regardless of whatever
> templating syntax we selected.

Given that, yes, it makes sense to say "template" in place of say
"data", but we still need a way to handle escaping ":8080" as
a literal.  :-)


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