You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2011/07/12 11:29:24 UTC
svn commit: r1145511 - /subversion/trunk/subversion/mod_dav_svn/repos.c
Author: rhuijben
Date: Tue Jul 12 09:29:24 2011
New Revision: 1145511
URL: http://svn.apache.org/viewvc?rev=1145511&view=rev
Log:
Log a bit more information in the apache server log to help in diagnosing
delta-base problems.
* subversion/mod_dav_svn/repos.c
(deliver): Improve error message to allow debugging delta-base problems
without debugging both client and server.
Modified:
subversion/trunk/subversion/mod_dav_svn/repos.c
Modified: subversion/trunk/subversion/mod_dav_svn/repos.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/repos.c?rev=1145511&r1=1145510&r2=1145511&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/repos.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/repos.c Tue Jul 12 09:29:24 2011
@@ -3557,8 +3557,10 @@ deliver(const dav_resource *resource, ap
resource->pool);
if (!is_file)
return dav_svn__new_error(resource->pool, HTTP_BAD_REQUEST, 0,
- "the delta base does not refer to a "
- "file");
+ apr_psprintf(resource->pool,
+ "the delta base of '%s' does not refer "
+ "to a file in revision %ld",
+ info.repos_path, info.rev));
/* Okay. Let's open up a delta stream for the client to read. */
serr = svn_fs_get_file_delta_stream(&txd_stream,