[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH]few corrections to bdb structure doc.

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-03-03 11:32:03 CET

Hi All,

Find the attached patch.

With regards
Kamesh Jayachandran

[[[
Typo fixes to bdb repos doc on structure

Patch by: Kamesh Jayachandran <kamesh@collab.net>

* subversion/libsvn_fs_base/notes/structure
  'path' to 'lock-tokens' are maintained in lock-tokens table not
  lock-nodes or locks-nodes table.

  seems like File System summary for CHANGE-KIND missing 'reset'
  as the 'changes' table describes above.
]]]

Index: subversion/libsvn_fs_base/notes/structure
===================================================================
--- subversion/libsvn_fs_base/notes/structure (revision 18697)
+++ subversion/libsvn_fs_base/notes/structure (working copy)
@@ -605,12 +605,12 @@
      the lock will cease to be valid. (see svn_time_to_cstring())
 
 In addition to creating a lock in the `locks' table, a new row is
-created in a `locks-nodes' table. The `lock-nodes' table is a btree
+created in a `lock-tokens' table. The `lock-tokens' table is a btree
 whose key is an absolute path in the filesystem. The value of each
 key is a lock-token (which is a key into the `locks' table.)
 
 To test if a path is locked, simply check if the path is a key in the
-`locks-nodes' table. To see if a certain directory has any locked
+`lock-tokens' table. To see if a certain directory has any locked
 children below, we ask BerkeleyDB to do a "greater or equal match" on
 the directory path, and see if any results come back. If they do,
 then at least one of the directory's children is locked, and thus the
@@ -619,7 +619,7 @@
 Locks are epheremal things, not historied in any way. They are
 potentially created and deleted quite often. When a lock is
 destroyed, the appropriate row is removed from the `locks' table.
-Additionally, the locked-path is removed from the `lock-nodes' table.
+Additionally, the locked-path is removed from the `lock-tokens' table.
 
 
 
@@ -883,7 +883,7 @@
 Changes:
 
                  CHANGE ::= ("change" PATH ID CHANGE-KIND TEXT-MOD PROP-MOD) ;
- CHANGE-KIND ::= "add" | "delete" | "replace" | "modify" ;
+ CHANGE-KIND ::= "add" | "delete" | "replace" | "modify" | "reset";
                TEXT-MOD ::= atom ;
                PROP-MOD ::= atom ;
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 3 11:33:58 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.