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/07/27 23:24:21 UTC

svn commit: r1507715 - /subversion/branches/fsfs-format7/subversion/libsvn_fs_x/fs_x.c

Author: stefan2
Date: Sat Jul 27 21:24:20 2013
New Revision: 1507715

URL: http://svn.apache.org/r1507715
Log:
On the fsfs-format7 branch:  Fix the index file templates for r0.

* subversion/libsvn_fs_x/fs_x.c
  (write_revision_zero): use the correct offset value

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_x/fs_x.c

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_x/fs_x.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_x/fs_x.c?rev=1507715&r1=1507714&r2=1507715&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_x/fs_x.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_x/fs_x.c Sat Jul 27 21:24:20 2013
@@ -746,7 +746,7 @@ write_revision_zero(svn_fs_t *fs)
               "\0\1\x80\x40\1\1" /* rev 0, single page */
               "\5\4"             /* page size: bytes, count */
               "\0"               /* 0 container offsets in list */
-              "\0\x70\x1e\1",    /* phys offsets + 1 */
+              "\0\x78\x1e\1",    /* phys offsets + 1 */
               13,
               fs->pool));
   SVN_ERR(svn_io_set_file_read_only(path, FALSE, fs->pool));
@@ -757,7 +757,7 @@ write_revision_zero(svn_fs_t *fs)
               "\0"                /* start rev */
               "\x80\x80\4\1\x11"  /* 64k pages, 1 page using 17 bytes */
               "\0"                /* offset entry 0 page 1 */
-              "\x1d\x11\0\6"      /* len, type + 16 * count, (rev, item)* */
+              "\x1d\x11\0\6"      /* len, type + 16 * count, (rev, 2*item)* */
               "\x5a\x15\0\4"
               "\1\x16\0\2"
               "\x88\xff\3\0",     /* last entry fills up 64k page */