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=21&rev2=22

Comment:
A first stab at how to store the inherited props cache in a wc-ng table.

  == 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.
  
- {{{#!wiki note
-   [JAF] The cache stores what semantic information?  A mapping from (repo URL 
@ revision) to (inherited properties list), for each (repo URL @ revision) that 
occurs in the WC as a WC root or switched subtree root?
- }}}
- '''''### TBD: Specifics for the wcng storage of these caches.'''''
+ 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 ||
+ ||<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 || ||
+ ||op_depth ||integer ||Yes ||References NODES.OP_DEPTH || ||
+ ||repos_parent_path ||text ||Yes ||-- ||Location of parent with one or more 
inheritable properties relative the the repository root. ||
+ ||revision ||integer ||-- ||-- ||Revision of repos_parent_path. ||
+ ||inheritable_props ||blob ||-- ||-- ||The parent's inheritable properties. ||
+ 
+ 
+ 
+ 
+ 
  
  == Authentication ==
  In exactly the same way that svn:mergeinfo is handled, generic inheritable 
properties can be inherited by any path the user has read access to, even if 
the user has no access to the parent path the inheritable property is 
explicitly set on.

Reply via email to