* 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.
@@ -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 *
