You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by Apache subversion Wiki <co...@subversion.apache.org> on 2013/08/29 18:29:09 UTC

[Subversion Wiki] Update of "NodesOperations" by PhilipMartin

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:
https://wiki.apache.org/subversion/NodesOperations?action=diff&rev1=6&rev2=7

- = Update =
+ = Update with text modification =
  
  === Editor v1 ===
  
@@ -34, +34 @@

  ||  0       ||    B          || normal       ||     3    ||
  |||||||| '''table A3''' ||
  
- then open file/close file A/f:
+ then open file A/f which doesn't modify NODES. The change to A/f only exists as in-memory structures in the editor. Then apply textdelta followed by close file A/f. It's the close file that modifes NODES:
  
  || op-depth || local-relpath || presence     || revision ||
  ||  0       ||               || incomplete   ||     4    ||
@@ -92, +92 @@

  
  = Update with additions =
  
+ === Editor v1 ===
+ 
  Start with a single-revision tree:
  
  || op-depth || local-relpath || presence || revision ||
@@ -100, +102 @@

  ||  0       ||    A/f        || normal   ||     3    ||
  |||||||| '''table B1''' ||
  
- Update A, open_root marks A incomplete at 6:
+ Update A, open root marks A incomplete at 6:
  
  || op-depth || local-relpath || presence   || revision ||
  ||  0       ||               || normal     ||     3    ||
@@ -108, +110 @@

  ||  0       ||    A/f        || normal     ||     3    ||
  |||||||| '''table B2''' ||
  
- Add subdir A/B 
+ then add directory A/B adds A/B as incomplete at 6:
  
  || op-depth || local-relpath || presence   || revision ||
  ||  0       ||               || normal     ||     3    ||
@@ -117, +119 @@

  ||  0       ||    A/f        || normal     ||     3    ||
  |||||||| '''table B3''' ||
  
- Addfile A/B/f:
+ then add file A/B/f doesn't modify NODES, at this stage the new file only exists as in-memory structures in the editor. Add file is followed by apply textdelta and then close file A/B/f. It is close file that modifies NODES:
  
  || op-depth || local-relpath || presence   || revision ||
  ||  0       ||               || normal     ||     3    ||
@@ -127, +129 @@

  ||  0       ||    A/f        || normal     ||     3    ||
  |||||||| '''table B4''' ||
  
- close_dir on A/B:
+ close dir on A/B:
  
  || op-depth || local-relpath || presence   || revision ||
  ||  0       ||               || normal     ||     3    ||
@@ -137, +139 @@

  ||  0       ||    A/f        || normal     ||     3    ||
  |||||||| '''table B5''' ||
  
- close_dir on A:
+ close dir on A:
  
  || op-depth || local-relpath || presence || revision ||
  ||  0       ||               || normal   ||     3    ||
@@ -147, +149 @@

  ||  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:
+ 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    ||
@@ -175, +177 @@

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