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

Re: svn:keywords

From: Rob Wilkerson <r.d.wilkerson_at_gmail.com>
Date: 2006-08-15 14:54:13 CEST

Ryan, your message left me wondering whether I really understand the
use of svn:keywords or, perhaps, the autoprops setting. I don't
necessarily want to force developers to include any or all keywords,
but I want Subversion to always updated files if the keywords are
present. I thought that, in order to do the latter, I had to
explicitly tell svn to recognize certain keywords. Is my
understanding correct or am I horribly misguided?

Thanks.

On 8/15/06, Ryan Schmidt <subversion-2006c@ryandesign.com> wrote:
>
> On Aug 15, 2006, at 12:43, Rob Wilkerson wrote:
>
> > Thanks, Kevin. I got essentially the same answer from Hari, but it
> > led to another question that I'll ask you as well:
> >
> > The file you reference is in *my* home directory. Presumably, then,
> > setting autoprops in that file will only affect commits made by me.
> > Is there a way to set those autoprops "globally"?
>
> Yes, it only affects your commits. No, you cannot set it globally.
> What you can do is install a pre-commit hook which verifies incoming
> commits and rejects any that do not meet your autoprops definitions.
> The error message you print could direct people to a Subversion
> config file that's already set up correctly, for example on a web
> page somewhere. You'd have to write this script though.
>
>

-- 
Rob Wilkerson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 15 14:56:08 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.