You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/10/30 17:51:28 UTC

svn commit: r1537174 - /subversion/branches/log-addressing/subversion/libsvn_fs_fs/structure-indexes

Author: stefan2
Date: Wed Oct 30 16:51:28 2013
New Revision: 1537174

URL: http://svn.apache.org/r1537174
Log:
On the log-addressing branch:  Fix / update L2P index documentation.

* subversion/libsvn_fs_fs/structure-indexes
  (Log-to-phys index.Index data model): remove duplicate word
  (Log-to-phys index.Index file format): fix off-by-one mismatch between
                                         code and documentation

Modified:
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/structure-indexes

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/structure-indexes
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/structure-indexes?rev=1537174&r1=1537173&r2=1537174&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/structure-indexes (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/structure-indexes Wed Oct 30 16:51:28 2013
@@ -114,7 +114,7 @@ header:
   <revision count>   ... number of revision covered by this index file
   <page size>        ... maximum number of entries per page
   <page table index> ... array, for each revision containing the index in
-                         <page table> of the first of page that belongs to
+                         <page table> of the first page that belongs to
                          this revision.  This has <revision count>+1
                          entries to terminate the last revision.
   <page table>       ... array of page headers.  It has
@@ -147,12 +147,12 @@ Index file format
 
   header := u(<header>.<first revision>) \
             u(<header>.<page size>) \
-            u(s(<header>.<page table index>)) \
+            u(<header>.<revision_count>) \
             u(s(<header>.<page table>))
 
   revisions := u(  <header>.<page table index>[k+1]
                  - <header>.<page table index>[k]),
-               for k in 0 .. s(<header>.<page table index>)-1
+               for k in 0 .. <header>.<revision_count>
 
   pages := u(<header>.<page table>[k].<size>) \
            u(<header>.<page table>[k].<entry count>),