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

RE: set svn:keywords property on svn add

From: Wolf Josef <josef.wolf_at_siemens.com>
Date: 2003-02-11 12:45:16 CET

> Is there a way to do a 'svn proset svn:keywords Id file' automatically
> when on runs 'svn add file'? And if there is no such feature,
> can it be added on a per repository base, configureable via
> ~/.subversion/servers
> (I assume thats the users repository "database")?

I have no particular opinion on the requested feature itself. I am just
curious whether ~/.subversion/servers is the right place where such a
configuration option belongs. Since the requested feature is meant to
be a repository attribute, its configuration _belongs_ into the repos.
If you want all new files in a given repos to have a specific keyword
set, you don't want to depend on client-settings to make this sure.
Storing this into a client-side configuration is not the right place

PS: Wouldn't it be possible for a hook script to automatically set the
keyword on any added files? I see that it is not desirable that hooks
modify transactions. But the hook could submit a second transaction.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 11 12:46:19 2003

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