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

Re: "svn propset svn:keyword" possible to specify a wildcard?

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-06-07 23:05:51 CEST

On 6/7/05, Andrew Nelson <freeandy@gmail.com> wrote:
> Just wondering if there is a way to specify that all files matching a
> wild card (e.g *.java) should be eligible for keyword substitution.
> It would also be nice if this keyword substitution would apply to any
> *.java files added after the initial svn propset invocation.

You can setup your client's configuration to do just this. However,
this is CLIENT specific and not server specific. That is, if you move
to a different machine, you'd have to set it up again.

You need to look at
<http://svnbook.red-bean.com/en/1.1/ch07.html#svn-ch-7-sect-1.3.2> of
the book. Look at the "enable-auto-props" setting. Then, if you're on
Unix, look at the bottom of the file $HOME/.subversion/config. If
you're on Windows, look at %USERPROFILE%\Application
Data\Subversion\config. You'll see the template to do exactly what you
want.

I'm currently writing a hook that will prevent a commit from
completing if files don't have the properties (and the values) that
you expect. The user would then have to add those properties in order
to commit their changes.

--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 7 23:08:20 2005

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.