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

Re: How to turn off svn:executable from /etc/subversion/config

From: Steve Kelem <steve_at_kelem.net>
Date: Mon, 09 Jan 2012 17:23:27 -0800

I agree, lots of files *shouldn't* be marked executable, but lots of users just don't care.
I'm trying to protect everyone else from their sloppiness.
That's why I'd like to turn svn:executable off with the autoprops.
If someone *really* needs svn:executable on some file that shouldn't normally have that prop,
they can always override it.

Steve
P.S. I poked around a little in the 1.7.2 code, trying to find out where the property was set to "*" regardless of its real setting,
but it didn't pop out.

Daniel Shahaf said the following on 01/09/2012 05:08 PM:
> You can't do this with autoprops. (See auto_props_enumerator() in
> libsvn_client/add.c; and notice the output of a manual 'svn propset
> svn:executable false'.) Feel free to file a bug about this, and/or
> submit a patch implementing this.
>
> Concretely, though, README shouldn't be marked executable in the first
> place. So I suspect the _real_ answer for you is "On Cygwin, use the
> native Cygwin svn client rather than the Windows one.". :-)
>
> On Mon, Jan 9, 2012, at 10:26, Steve Kelem wrote:
>> I want to turn OFF the svn:executable property for many file types from inside /etc/subversion/config.
>> Is there a way to do this? The documentation for this property says that its existence will force its value to "*".
>> I want to be able to specify something like:
>> README = svn:eol-style=native; svn:mime-type=text/plain; svn:executable=false
>>
>> Is there a way to do this?
>>
>> Thanks,
>> Steve
>>
>>
Received on 2012-01-10 02:24:09 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.