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:55:45 UTC

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

Author: stefan2
Date: Wed Oct 30 16:55:45 2013
New Revision: 1537176

URL: http://svn.apache.org/r1537176
Log:
On the log-addressing branch:  follow-up to r1537174.

* subversion/libsvn_fs_fs/structure-indexes
  (Log-to-phys index.Index file format): fix another off-by-one mismatch; fix notation

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=1537176&r1=1537175&r2=1537176&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:55:45 2013
@@ -147,12 +147,12 @@ Index file format
 
   header := u(<header>.<first revision>) \
             u(<header>.<page size>) \
-            u(<header>.<revision_count>) \
+            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 .. <header>.<revision_count>
+               for k in 0 .. <header>.<revision count>-1
 
   pages := u(<header>.<page table>[k].<size>) \
            u(<header>.<page table>[k].<entry count>),