Author: stefan2
Date: Fri Aug  2 11:13:41 2013
New Revision: 1509627

URL: http://svn.apache.org/r1509627
Log:
On the log-addressing branch:  Follow-up to r1509609.

* subversion/libsvn_fs_fs/fs_fs.c
  (read_format): fix typo commentary and error string;
                 fix missing indirection in error condition;
                 fix parameters provided to error message

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

Modified: subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c
URL: 
http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c?rev=1509627&r1=1509626&r2=1509627&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c 
(original)
+++ subversion/branches/log-addressing/subversion/libsvn_fs_fs/fs_fs.c Fri Aug  
2 11:13:41 2013
@@ -355,14 +355,14 @@ read_format(int *pformat,
          svn_dirent_local_style(path, pool), buf->data);
     }
 
-  /* Non-shared repositories never use logical addressing.
+  /* Non-sharded repositories never use logical addressing.
    * If the format file is inconsistent in that respect, something
    * probably went wrong.
    */
-  if (min_log_addressing_rev != SVN_INVALID_REVNUM && !*max_files_per_dir)
+  if (*min_log_addressing_rev != SVN_INVALID_REVNUM && !*max_files_per_dir)
     return svn_error_createf(SVN_ERR_BAD_VERSION_FILE_FORMAT, NULL,
-       _("'%s' specifies logical addressing for a non-shared repository"),
-       svn_dirent_local_style(path, pool), buf->data);
+       _("'%s' specifies logical addressing for a non-sharded repository"),
+       svn_dirent_local_style(path, pool));
 
   return SVN_NO_ERROR;
 }


Reply via email to