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 Tue, 01 May 2012 15:39:24 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=1&rev2=2

  
  and then the complete call will update the rest of the tree to revision 4 giving table A7.
  
+ = Update with additions =
+ 
+ Start with a single-revision tree:
+ 
+ || op-depth || local-relpath || presence || revision ||
+ ||  0       ||               || normal   ||     3    ||
+ ||  0       ||    A          || normal   ||     3    ||
+ ||  0       ||    A/f        || normal   ||     3    ||
+ |||||||| '''table B1''' ||
+ 
+ Update A, open_root marks A incomplete at 6:
+ 
+ || op-depth || local-relpath || presence   || revision ||
+ ||  0       ||               || normal     ||     3    ||
+ ||  0       ||    A          || incomplete ||     6    ||
+ ||  0       ||    A/f        || normal     ||     3    ||
+ |||||||| '''table B2''' ||
+ 
+ Add subdir A/B 
+ 
+ || op-depth || local-relpath || presence   || revision ||
+ ||  0       ||               || normal     ||     3    ||
+ ||  0       ||    A          || incomplete ||     6    ||
+ ||  0       ||    A/B        || incomplete ||     6    ||
+ ||  0       ||    A/f        || normal     ||     3    ||
+ |||||||| '''table B3''' ||
+ 
+ Addfile A/B/f:
+ 
+ || op-depth || local-relpath || presence   || revision ||
+ ||  0       ||               || normal     ||     3    ||
+ ||  0       ||    A          || incomplete ||     6    ||
+ ||  0       ||    A/B        || incomplete ||     6    ||
+ ||  0       ||    A/B/f      || normal     ||     6    ||
+ ||  0       ||    A/f        || normal     ||     3    ||
+ |||||||| '''table B4''' ||
+ 
+ close_dir on A/B:
+ 
+ || op-depth || local-relpath || presence   || revision ||
+ ||  0       ||               || normal     ||     3    ||
+ ||  0       ||    A          || incomplete ||     6    ||
+ ||  0       ||    A/B        || normal     ||     6    ||
+ ||  0       ||    A/B/f      || normal     ||     6    ||
+ ||  0       ||    A/f        || normal     ||     3    ||
+ |||||||| '''table B5''' ||
+ 
+ close_dir on A:
+ 
+ || op-depth || local-relpath || presence || revision ||
+ ||  0       ||               || normal   ||     3    ||
+ ||  0       ||    A          || normal   ||     6    ||
+ ||  0       ||    A/B        || normal   ||     6    ||
+ ||  0       ||    A/B/f      || normal   ||     6    ||
+ ||  0       ||    A/f        || normal   ||     3    ||
+ |||||||| '''table B6''' ||
+ 
+ close_edit on A bumps the revision of all other nodes under A, in this case A/f:
+ 
+ || op-depth || local-relpath || presence || revision ||
+ ||  0       ||               || normal   ||     3    ||
+ ||  0       ||    A          || normal   ||     6    ||
+ ||  0       ||    A/B        || normal   ||     6    ||
+ ||  0       ||    A/B/f      || normal   ||     6    ||
+ ||  0       ||    A/f        || normal   ||     6    ||
+ |||||||| '''table B7''' ||
  
  = Delete and Commit =
  
@@ -94, +160 @@

  ||  0       ||    A          || normal   ||     3    ||
  ||  0       ||    A/f        || normal   ||     3    ||
  ||  0       ||    A/B        || normal   ||     3    ||
- |||||||| '''table B1''' ||
+ |||||||| '''table C1''' ||
  
  Delete A/f, the revision of the base-deleted node has no meaning:
  
@@ -104, +170 @@

  ||  0       ||    A/f        || normal   ||     3    ||
  ||  0       ||    A/B        || normal   ||     3    ||
  ||  2       ||    A/f         || base-deleted ||     ||
- |||||||| '''table B2''' ||
+ |||||||| '''table C2''' ||
  
  Delete A, subsuming A/f:
  
@@ -116, +182 @@

  ||  1       ||    A          || base-deleted ||      ||
  ||  1       ||    A/f        || base-deleted ||      ||
  ||  1       ||    A/B        || base-deleted ||      ||
- |||||||| '''table B3''' ||
+ |||||||| '''table C3''' ||
  
  Commit, once again the revision of the not-present node has no meaning:
  
  || op-depth || local-relpath || presence || revision ||
  ||  0       ||               || normal   ||     3    ||
  ||  0       ||    A          || not-present ||       ||
- |||||||| '''table B4''' ||
+ |||||||| '''table C4''' ||
  
  After the commit the parent of the deleted node is still at the old revision because the
commit did not modify that directory.
  

Mime
View raw message