[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-17 05:49:43 CEST

On 6/9/05, Manuzhai <mail@manuzhai.nl> wrote:
> > Thanks much for the tip. Seems like the auto-props would be more
> > handy if they could be set and unset on a directory by directory basis
> > instead of a client by client basis. That way if I'm working on
> > project1 that wants *.java to have one set of autoprops set I won't
> > screw up project2 that wants another set of autoprops for *.java.
> >
> > Maybe your hook would do just that but it would be nice to just have
> > the files automagically get the correct props set instead of an error
> > message every time I attempt to commit.
> >

I've finished my hook if anyone is interested.

Yes, I also thought it would be nice to automatically create the
properties I need. In fact, I originally assumed I could easily do
this with a hook. That is, create a hook that would automatically set
a property when I created a new file. However, I quickly discovered
that you can't set a property without a working directory which made
setting it with a hook almost impossible.

So, the best I can do is simply reject the commit until the user sets
the property itself which I hope encourages people to use the
auto-property ability of their client installation. At least this way,
I don't end up with files in my archive where someone forgot to set a
needed property.

David Weintraub
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 17 05:51:28 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.