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

Re: Customizable Keywords

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-12-12 15:38:14 CET

"Eric Gillespie, Jr." <epg@pretzelnet.org> writes:

> 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.

Those are the only ones I plan to implement right now; all of the
other keywords that CVS supports are way too RCS-specific.

> Second, most projects want a custom keyword ($NetBSD$,
> $XConsortium$, etc.), usually made equivalent to Id.

Sorry, Garrett's response isn't clear to me. What does $NetBSD$
expand to? Something like $NetBSD: version 2.3.4$ ?

> Subversion should have *proper* support for creating any
> number of custom keywords, making them equivalent to whatever
> keyword you want.

Ummmm. Hmmmm. Could this be done via a file property?

   svn:expand-keyword = "foo:bar"

Would translate $foo$ into $foo: bar$?

Or are we talking about a more complex system, whereby a keyword would
need to be programatically discovered via some client-side plugin?

---------------------------------------------------------------------
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.