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

Re: svn:keywords ... a plea

From: Peter Connolly <psconnolly_at_gmail.com>
Date: Tue, 25 Mar 2008 14:58:35 -0700

> I read it and find:
>
>
> Auto-prop support is perhaps the handiest property related
> tool in the Subversion toolbox. See the section called
> "Config" for more about configuring that support.
>
> ...sounds good, so I follow on:
>
> enable-auto-props
>
> This instructs Subversion to automatically set properties on
> newly added or imported files. The default value is no, so set
> this to yes to enable Auto-props. The auto-props section of
> this file specifies which properties are to be set on which
> files.
>
>
> ...not quite what I would like, but OK. bit like -kb in cvs wrappers
> I'll just setup my repository to add this to all files. Can't seem to
> find the right file, go back and re-read the section and discover this
> is a CLIENT-SIDE config setting ...What! OK , get a grip, hard to work
> out why a project specific setting should be governed by a config file
> that depends on the (1st) user who updated the file?
>
> I stay cool and read on:
>
> The auto-props section controls the Subversion client's ability to
> automatically set properties on files when they are added or
> imported. It contains any number of key-value pairs in the format
> PATTERN = PROPNAME=PROPVALUE where PATTERN is a file pattern that
> matches a set of filenames and the rest of the line is the property
> and its value. Multiple matches on a file will result in multiple
> propsets for that file; however, there is no guarantee that auto-props
> will be applied in the order in which they are listed in the config
> file, so you can't have one rule "override" another. You can find
> several examples of auto-props usage in the config file. Lastly, don't
> forget to set enable-auto-props to yes in the miscellany section if
> you want to enable auto-props.
>
>
> So there is an "auto-props section" ... bound to be a description of
> that in the book ... nope, never comes up again, I wonder what an
> "auto-props" section looks like. Ahh there's the answer:
>
> "You can find several examples of auto-props usage in the
> config file"
>
> ... can you heck :-) There is no mention of the "auto-props section"
> anywhere (that I can find) other than that lone paragraph in the
> svn-book. Still know I know the magic keyword I can unleash google on
> it. I discover the apache 'svn config file'
>
> http://cwiki.apache.org/GMOxDEV/subversion-client-configuration.html
>
> Finally ... the answer!!
>
Thanks for the email. I went through exactly the same exercise last
week and, like you, was stunned that auto-props was a client-side
option AND that it was next to impossible to find good examples of
this mysterious config file anywhere. At least I'm not alone.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-25 22:59:06 CET

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.