Overriding default automatic SVN properties with svn:auto-props

327 views Asked by At

Is it possible to somehow override default algorithm for assigning SVN properties using the svn:auto-props? (Obviously only for those that do use svn:auto-props...)

In particular how do I assure that svn:executable is not set based on corresponding permission flag? Since default automatic properties assignment will look at the executable permission flag and if it is set it will assign svn:executable. While I would like to automatically assign this flag only to files explicitly listed in svn:executable. (Obviously user will still be able to set the property manually skipping any default algorithm.)

1

There are 1 answers

3
bahrep On BEST ANSWER

AFAIK, svn:auto-props in SVN 1.8 does not cover such case (at least the way how I understood your case, i.e. some elaboration on your question would make it clearer). In can only set a property based on the specified pattern, it can't deny setting a property on some specific working copy items.

In other words, if you specify a pattern, those items in your WC that match the pattern will definitely get svn:executable applied.