Dear Wiki user,

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

The "InheritedProperties" page has been changed by pburba:
http://wiki.apache.org/subversion/InheritedProperties?action=diff&rev1=45&rev2=46

Comment:
Add a blurb on externals.

      In what I suggest, a child path base node would inherit from its 
repository parent, no matter whether that is the same as its its WC parent base 
node, because that maintains consistency, guaranteeing that particular node has 
the same set of properties no matter when and where you find it.  As for the WC 
actual tree, our ideas are different but similar, but never mind that until 
we're clear on the basics.
  }}}
  
- '''''### TBD: Externals: Do they work like switched subtrees?'''''
- 
  === Inherited Properties Cache ===
  A child path that inherits a property from its parent may not have ready 
access to that parent in the working copy (e.g. the root of the working copy is 
a subtree of the parent path).  To ensure that traditionally disconnected 
operations (i.e. those that require no access to the repository, like 'svn 
add') remain disconnected, we will maintain a cache of properties inherited by 
the root of the working copy. Whenever a new working copy is checked out, any 
properties inherited by the root of the working copy will be cached in the 
working copy.  If a subtree within a working copy is switched, a separate cache 
will be created for the root of that subtree.  Whenever an update occurs the 
cache(s) will be refreshed.
  
  The cache will be stored in a new wc-ng table:
- ||||||||||<tablewidth="978px" tableheight="324px"style="font-weight:bold;     
                      ;text-align:center">TABLE: INHERITABLE_PROPS ||
+ ||||||||||<tablewidth="978px" tableheight="324px"style="font-weight:bold;     
                       ;text-align:center">TABLE: INHERITABLE_PROPS ||
  ||<style="font-weight:bold;">Name ||<style="font-weight:bold;">Data Type 
||<style="font-weight:bold;">Primary Key ||<style="font-weight:bold;">Foreign 
Key ||<style="font-weight:bold;">Notes ||
  ||wc_id ||integer ||Yes ||References NODES.WC_ID || ||
  ||local_relpath ||text ||Yes ||References NODES.LOCAL_RELPATH || ||
@@ -109, +107 @@

  
  
  
+ 
+ === Externals ===
+ Directory externals are treated as  self-contained working copies with their 
own inherited properties  cache.  File externals, despite not being their own 
WC, are also treated as WC roots and get their own cache.  The end result: 
Property inheritance '''never '''crosses external boundaries in the WC.
  
  === Authentication ===
  The svn:mergeinfo property can be inherited by any child path the user has 
read access to, even if the user has no access to the parent path the 
svn:mergeinfo property is explicitly set on. Generic property inheritance is 
more restrictive:

Reply via email to