Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for 
change notification.

The "InheritableAutoProps" page has been changed by pburba:
http://wiki.apache.org/subversion/InheritableAutoProps?action=diff&rev1=1&rev2=2

Comment:
Minor wording change for emphasis

  Like the svn:ignore property it only makes sense to set 
svn:inheritable-auto-props on directories, so attempts to propset the latter on 
a file will fail.
  
  === Auto-Props Hierarchy and Precedence ===
- Any path added to the working copy or imported to the repository must have a 
previously versioned parent. Both the svn:inheritable-auto-props explicitly set 
on that parent and the properties inherited by that parent, in addition to the 
run-time configuration auto-props, will determine the auto-props for the 
added/imported files under the versioned parent.  Where the auto-prop values 
conflict there are a few simple rules:
+ Any path added to the working copy or imported to the repository must have a 
previously versioned parent. Both the svn:inheritable-auto-props explicitly set 
on that parent and the properties inherited by that parent, in addition to the 
run-time configuration auto-props, will determine the auto-props for the 
added/imported files under the versioned parent.  Where the auto-prop values 
'''for the same file pattern''' conflict there are a few simple rules:
  
   1. svn:inheritable-auto-props override the run-time configuration auto-props.
   1. svn:inheritable-auto-props inherited from a nearer parent override those 
from a more distant parent.
@@ -43, +43 @@

  *.h  = svn:eol-style=native
  *.py = svn:eol-style=native
  }}}
- 
  And a repository with this heirarchy and svn:inheritable-auto-props set as 
shown:
  
  {{{
@@ -53, +52 @@

  /ProjY
  /ProjZ
  }}}
- 
  If we check out ^/ProjX and add the files 'bar.py', 'baz.c', and 'foo.bat':
  
  {{{
@@ -76, +74 @@

  A         baz.c
  A         foo.bat
  }}}
- 
  Thee file 'bar.py' has its automatic svn:eol-style dictated by the auto-props 
for *.py which exist soley in the run-time configuration.  While bar.py has 
parents with the svn:inheritable-auto-props property, none of them have a 
matching pattern, so there is no override.
  
  The file 'baz.c' gets its auto-props from the svn:inheritable-auto-props set 
on '.', which override those set for the same pattern in the run-time config.
@@ -95, +92 @@

    svn:executable
      *
  }}}
- 
  {{{#!wiki warning
  If multiple patterns, defined at different levels (i.e. the run-time config 
and multiple parent's svn:inheritable-auto-props) all match a given file, then, 
like multiple matching patterns within the run-time config, there is no 
guarantee that auto-props will be applied in any partiuclar order.  One rule 
only overrides another rule if they have the exact same pattern.
  }}}

Reply via email to