[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Customizable Keywords

From: Eric Gillespie, Jr. <epg_at_pretzelnet.org>
Date: 2001-12-12 07:25:46 CET

Tonight i saw Ben Collins-Sussman's commit to the
line-endings-and-keywords.txt file where he lists some keywords.
It isn't clear if those are only examples or if those are the
only ones he plans to implement.

In any case, i have two comments about this. First, some
analogue of CVS's Id will be necessary (containing the filename,
last revision in which it changed, who changed it, and when).
Second, most projects want a custom keyword ($NetBSD$,
$XConsortium$, etc.), usually made equivalent to Id.

CVS has no support for this; each project accomplishes it in a
different way. Both FreeBSD and NetBSD do it via
CVSROOT/options, though in an incompatible way. I maintain
Debian's CVS package, and i incorporated FreeBSD's version of the
hack. Subversion should have *proper* support for creating any
number of custom keywords, making them equivalent to whatever
keyword you want. Bonus points for some kind of format string
for inventing your own cool keyword :).

Of course i'm just some whiner who has no time to contribute, so
i understand if some things have to be post-1.0. That said,
these seem like easy features to implement.

-- 
Eric Gillespie, Jr. <*> epg@pretzelnet.org
"When everyone has to reinvent the wheel, many people invent
 square wheels."
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:52 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.