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

Re: globally setting auto-props

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 9 Apr 2009 16:54:45 -0400

On Thu, Apr 9, 2009 at 12:56, DW Dennis Wheeler <dwheeler_at_ag.com> wrote:
> I searched the docs and web and have so far been unable to find a clear
> answer.
> I see that enabling auto-props in one's local client will set the
> appropriately defined properties for some defined fileset for newly
> added files -- but that's only local to that one user.
> How do I set that globally for all users?

There is no "global for all users" setting that can be set/distributed
via SVN. If oyu have settings that must be done and enforced, you must
implement a hook script to check for those properties on commit.

> Can I simply copy the same settings from my ~/.subversion/config into
> the server's conf/svnserve.conf file?

You can, but that'll only work for users who don't have a
~/.subversion/config on that server.

> for example:
> -----------
> [miscellany]
> enable-auto-props = yes
> [auto-props]
> *.sql = svn:keywords=Revision

I've had our network admins roll out a logon script for all users
which puts a standardized config file in each SVN user's home
directory upon login.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-09 22:55:39 CEST

This is an archived mail posted to the Subversion Users mailing list.