subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1781655 - /subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c
Date Sat, 04 Feb 2017 11:10:34 GMT
Author: stsp
Date: Sat Feb  4 11:10:34 2017
New Revision: 1781655

URL: http://svn.apache.org/viewvc?rev=1781655&view=rev
Log:
* subversion/libsvn_fs_fs/rep-cache.c
  (svn_fs_fs__open_rep_cache): If we can't open the rep-cache, include the
   full path to the rep-cache database we tried to open in the error message.
   When this message shows up in logs on busy servers it can be hard to tell
   which repository was affected otherwise.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c?rev=1781655&r1=1781654&r2=1781655&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c Sat Feb  4 11:10:34 2017
@@ -125,7 +125,10 @@ svn_fs_fs__open_rep_cache(svn_fs_t *fs,
   fs_fs_data_t *ffd = fs->fsap_data;
   svn_error_t *err = svn_atomic__init_once(&ffd->rep_cache_db_opened,
                                            open_rep_cache, fs, pool);
-  return svn_error_quick_wrap(err, _("Couldn't open rep-cache database"));
+  return svn_error_quick_wrapf(err,
+                               _("Couldn't open rep-cache database '%s'"),
+                               svn_dirent_local_style(
+                                 path_rep_cache_db(fs->path, pool), pool));
 }
 
 svn_error_t *



Mime
View raw message