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

Re: Setting auto-props on windows server

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 28 Sep 2009 14:20:03 -0400

On Mon, Sep 28, 2009 at 14:16, Bob Archer <bob.archer_at_amsi.com> wrote:
>
> >I am trying to setup auto properties on a new svn repository on a windows server.   Per the documentation, I found the server config file in the ‘ALL >USERS’ area: C:\Documents and Settings\All Users\Application Data\Subversion\config, and have edited that as shown below.     No properties, >however, get set when a new file is added.   Just in case putting the tsvn props at a file level, instead of dir level was the problem, I did change the >setting for “*.h” to omit the tsvn props, but that did not help.    We did setup Visual SVN Server 1.7.3 and we use the tortoise svn client, 1.6.5.    I >thought for sure I’d find the answer in the FAQ or past emails, but only saw the unix/linux questions, so sorry if this is a re-post!
>
>
>
> >### Automatic properties are defined in the section 'auto-props'.
>
> >enable-auto-props = yes
>
> >### Set interactive-conflicts to 'no' to disable interactive
>
>
>
> >### Section for configuring automatic properties.
>
> >[auto-props]
>
> >### The format of the entries is:
>
> >###   file-name-pattern = propname[=value][;propname[=value]...]
>
> >*.c     = svn:eol-style=native;svn:keywords=Id;tsvn:logminsize=10;tsvn:logwidthmarker=80
>
> >*.cpp   = svn:eol-style=native;svn:keywords=Id;tsvn:logminsize=10;tsvn:logwidthmarker=80
>
> >*.java  = svn:eol-style=native;svn:keywords=Id;tsvn:logminsize=10;tsvn:logwidthmarker=80
>
> >*.h     = svn:eol-style=native;svn:keywords=Id
>
> >
>
>
>
> I'm pretty sure auto-props is a client slide configuration directive not server side.

You are correct, Bob. There is no way to set auto-props from the
server. One can enforce rules related to properties via a pre-commit
hook, but that's it.

I've created a default client config file & had my NetWare
administrator push it out to all users on login if there is a
%APPDATA%\subversion directory for that user.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2401345

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-28 20:21:01 CEST

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.