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/29 18:15:23 UTC

svn commit: r1536821 - /subversion/branches/log-addressing/subversion/libsvn_fs_fs/verify.c

Author: stefan2
Date: Tue Oct 29 17:15:22 2013
New Revision: 1536821

URL: http://svn.apache.org/r1536821
Log:
On the log-addressing branch:

* subversion/libsvn_fs_fs/verify.c
  (verify_index_consistency): make the range of retried revisions more obvious

Modified:
    subversion/branches/log-addressing/subversion/libsvn_fs_fs/verify.c

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/verify.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/verify.c?rev=1536821&r1=1536820&r2=1536821&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/verify.c (original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/verify.c Tue Oct 29 17:15:22 2013
@@ -653,7 +653,10 @@ verify_index_consistency(svn_fs_t *fs,
       if (err && count != pack_size(fs, revision))
         {
           svn_error_clear(err);
-          next_revision = pack_start;
+
+          /* We could simply assign revision here but the code below is
+             more intuitive to maintainers. */
+          next_revision = packed_base_rev(fs, revision);
         }
       else
         {