Re: [PATCH 2/2] Add keyword unexpansion support to convert.c
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Apr 17, 2007, 21:00 UTC
- Message-ID
- <vpqslay1zty.fsf@bauges.imag.fr>
- In-Reply-To
- <200704171041.46176.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> 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