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

Re: auto-prop in /etc/subversion/config not being applied remotely.

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2006-08-31 17:07:15 CEST

On 8/31/06, graham.coles@the-logic-group.com
<graham.coles@the-logic-group.com> wrote:
> I am having a problem with setting auto-props on files from the default
> config file.
> I have set up a very short config entry for subversion running on linux in
> /etc/subversion/config containing the following:
> # no-unlock = yes
> enable-auto-props = yes
> [auto-props]
> *.doc = svn:needs-lock;svn:mime-type=application/msword
> Importing a file using file:///... from my local account works fine and
> the properties are set accordingly. If I override the properties in my
> file in my local ~/.subversion/config file, these are set instead, which
> appears to be working as expected.
> However, I also access the repository remotely over ssh from Windows and
> in this instance if I have local settings in my Application
> Data\Subversion\config file it also sets these properties when importing
> instead of the /etc ones. So far so good.
> The problem arises when this file's contents are commented out (as per the
> default local config file) in which case subversion just imports a .doc
> file as though no config exists, ignoring the mime type and needs-lock
> property. For some reason, it does NOT apply the settings in
> /etc/subversion/config.
> Is this the expected behaviour for subversion when dealing with remote
> clients or is it a bug -- I thought the whole point of the global
> /etc/subversion config settings file was to provide a default handling on
> the server where the options weren't specified by the client.
> This problem occurs both when using the svn import command or tortoise.
> Has anyone else had this problem?
> Any ideas or comments would be appreciated.
> --
> Graham Coles

The subversion configuration area is for subversion clients, not the
server. It is to provide default settings for the /local/ client,
configured per-user or machine-wide.

I think this enhancement request is what you want


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 18:42:15 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.