Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2] Add keyword unexpansion support to convert.c

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:43:05

Andy Parkins [off-list ref] writes:
This patch adds expansion of keywords support.
I didn't get time to read the whole thread, but just my 2 cents:

Did you have a look at the way Mercurial deals with this?

They have a system where files can be ran through arbitrary filters
when commited:

  http://www.selenic.com/mercurial/wiki/index.cgi/EncodeDecodeFilter

and it can be somehow abused to do keyword expansion.

  http://www.selenic.com/mercurial/wiki/index.cgi/TipsAndTricks#head-f348f796b9560a1cfbdaf3f3f0f7d9d4339266e9

It surely doesn't solve all the problems mentionned in this thread,
but the experience can be interesting to look at.

-- 
Matthieu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help