[PATCH][RFC] Support for keyword expansion
kreijack at libero.it
Tue Sep 20 06:41:16 CDT 2005
On Monday 19 September 2005 23:05, Matt Mackall wrote:
> On Tue, Aug 30, 2005 at 09:29:38PM +0200, Goffredo Baroncelli wrote:
> > Hi all,
> > the patch below is an initial support for a keywords expansion framework.
> Can you rework this as a generic filter script for contrib/?
I will see if it is possible; if it is possible to get the information
in a efficient way form an external script, it shouldn't be problems.
> I'm personally not a believer in keyword expansion - you either a)
> have the repo at hand to query such things directly, making it
> redundant or
I fully agree
> b) you've gotten a copy of the file without access to the
> repo, in which case the expansions are potentially out of date or more
> often irrelevant, etc.
Here I don't agree; you should change point of view. The point is not how
you can take an information.
When there is the same information in the repository and in a file they are or will be
incoherent ( Marphy law ). So :
a) remove the information from one place ( and if you have the repo at hand is
simple to remove the information from the file, but if you are the user ? ) or
b) you have to implement a way to syncronize/correct these incoherents.
Think about to the changelog/filelog, it is very usefull to know the changes (of
a file) even tough you don't have the repo at hand.
> About the only thing they're good for is determining
> whether a hardcopy sitting on your desk should be recycled, for which
> the answer is usually yes anyway.
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack @ inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the Mercurial