subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache subversion Wiki <comm...@subversion.apache.org>
Subject [Subversion Wiki] Update of "NodesOperations" by PhilipMartin
Date Wed, 02 May 2012 13:43:19 GMT
Dear Wiki user,

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

The "NodesOperations" page has been changed by PhilipMartin:
http://wiki.apache.org/subversion/NodesOperations?action=diff&rev1=4&rev2=5

  
  After the commit the parent of the deleted node is still at the old revision because the
commit did not modify that directory. A subsequent update to some revision other than r3 will
remove the not-present node. An update to r3 will cause the not-present node, and its children,
to be reinstated.
  
+ = WC-WC Copy =
+ 
+ Start with a mixed-revision BASE node tree:
+ 
+ || op-depth || local-relpath || presence    || revision ||
+ ||  0       ||               || normal      ||     3    ||
+ ||  0       ||    A          || normal      ||     3    ||
+ ||  0       ||    A/f        || normal      ||     4    ||
+ ||  0       ||    A/B        || not-present ||          ||
+ ||  1       ||    X          || normal      ||          ||
+ |||||||| '''table D1''' ||
+ 
+ The not-present A/B would usually the result of a commit/delete.
+ 
+ Copy A to X/Y:
+ 
+ || op-depth || local-relpath || presence    || repos-path || revision ||
+ ||  0       ||               || normal      ||     /      ||     3    ||
+ ||  0       ||    A          || normal      ||     /A     ||     3    ||
+ ||  0       ||    A/f        || normal      ||     /A/f   ||     4    ||
+ ||  0       ||    A/B        || not-present ||     /A/B   ||          ||
+ ||  1       ||    X          || normal      ||            ||          ||
+ ||  2       ||    X/Y        || normal      ||     /A     ||     3    ||
+ ||  2       ||    X/Y/f      || not-present ||     /A/f   ||          ||
+ ||  3       ||    X/Y/f      || normal      ||     /A/f   ||     4    ||
+ ||  2       ||    X/Y/B      || not-present ||     /A/B   ||          ||
+ |||||||||| '''table D2''' ||
+ 
+ The not-present A/B becomes not-present X/Y/B.  This shows up as status 'D' and will generate
a delete on commit if necessary (by contacting the repository to determine if X/Y/B exists
after the copy). The mixed-rev A/f becomes the not-present X/Y/f at op-depth=2 and the normal
X/Y/f at op-depth=3. On commit this causes an add or repace of X/Y/f.
+ 

Mime
View raw message