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

Re: How to negate autoprops?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-05-15 19:42:06 CEST

Daniel Rall wrote:
> On Sat, 12 May 2007, Christian Unger wrote:
>
>> Hi,
>>
>> if I want to make sure that specific filetypes do get the
>> svn:executable property explicitly unset,
>>
>> is it possible to do this via negation of autoprops like this ?
>>
>> *.png ! svn:executable
>> *.png svn:executable=0
>
> Christian, this type of question would be more appropriate for the
> users mailing list.

Yep.

> AFAIK, you can't do this.

That's right. Either remove the executable bit from your files before
adding/importing them, or add a pre-commit hook script which fails the
commit any time someone commits the addition of files with the
svn:executable set improperly.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Tue May 15 19:42:17 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.