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

Re: Adding aditional keywords replacing properties

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2006-01-05 15:44:51 CET
('binary' encoding is not supported, stored as-is) egtvedt@samfundet.no wrote:
> I like the feature of adding properties like license etc. It would be nice
> if you could define properties with a keyword for automatically update the
> code. Is this possible somehow?

As far as I am aware the list of keywords is fixed. I'd also like to see more coupling between keywords and properies; the problem that I wanted to solve was putting a release name in a file (http://svn.haxx.se/users/archive-2005-11/0198.shtml). Why not make it possible to substitute any property using a keyword of the same name? Or perhaps a keyword with a standard prefix:

// $property:copyright$

Unfortunately you can't implement this using commit hook scripts because they can't (or, at least, shouldn't) modify the data that's being committed. So you would need a client-side wrapper around commit that modifies the working copy before committing.

--Phil.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 5 14:45:59 2006

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

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