From commits-return-46539-apmail-subversion-commits-archive=subversion.apache.org@subversion.apache.org Sat Feb 4 11:10:35 2017 Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5911719DD9 for ; Sat, 4 Feb 2017 11:10:35 +0000 (UTC) Received: (qmail 87276 invoked by uid 500); 4 Feb 2017 11:10:35 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 87240 invoked by uid 500); 4 Feb 2017 11:10:35 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 87227 invoked by uid 99); 4 Feb 2017 11:10:35 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Feb 2017 11:10:35 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id B20763A0F99 for ; Sat, 4 Feb 2017 11:10:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1781655 - /subversion/trunk/subversion/libsvn_fs_fs/rep-cache.c Date: Sat, 04 Feb 2017 11:10:34 -0000 To: commits@subversion.apache.org From: stsp@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170204111034.B20763A0F99@svn01-us-west.apache.org> 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 *