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

Re: [PATCH] Keyword hash and Properties as keyword

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-21 03:25:38 CET

Garrett Rooney wrote:
> I mean I'm all for providing some kind of customization of keywords, but
> I always assumed such customization would either be aliasing one keyword
> to a new name (i.e. $Id$ -> $FreeBSD$ or something like that), or
> providing a way to pick and chose the various bits of data we already
> provide, so you could have a single keyword with both the URL and the
> LastChangedRev or something...

The problem with that is how to set it. There are no repository-wide
configuration settings (currently) which could be used for that purpose. There
is hardly any point doing a compile-time configuration. In the comments for
subst.c, I point out exactly where to check any repository-wide configurations
to create new custom keywords (once those exist).

>
> Just being able to plug in arbitrary properties doesn't seem all that
> appealing to me, but you've put a fair amount of work into it, so I
> assume there's something I'm missing...

At the moment, it's not all that useful, I'll admit. Once we have inheritable
properties, you could set a property called VERSION at the top of the directory
tree, and all files requiring a version property would be automatically
populated with that keyword.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 21 03:25:34 2004

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.