You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2012/08/29 20:21:34 UTC
svn commit: r1378669 - /subversion/trunk/subversion/libsvn_ra_serf/update.c
Author: cmpilato
Date: Wed Aug 29 18:21:34 2012
New Revision: 1378669
URL: http://svn.apache.org/viewvc?rev=1378669&view=rev
Log:
Correct some error message details in ra_serf.
* subversion/libsvn_ra_serf/update.c
(fetch_file, end_report): Fix some error messages/code. They referred to
an "OPTIONS response" when, in fact, the relevant request type was
either a REPORT or a PROPFIND.
Modified:
subversion/trunk/subversion/libsvn_ra_serf/update.c
Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1378669&r1=1378668&r2=1378669&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Wed Aug 29 18:21:34 2012
@@ -1219,9 +1219,9 @@ fetch_file(report_context_t *ctx, report
if (!info->url)
{
- return svn_error_create(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED, NULL,
- _("The OPTIONS response did not include the "
- "requested checked-in value"));
+ return svn_error_create(SVN_ERR_RA_DAV_MALFORMED_DATA, NULL,
+ _("The REPORT or PROPFIND response did not "
+ "include the requested checked-in value"));
}
/* If needed, create the PROPFIND to retrieve the file's properties. */
@@ -1896,9 +1896,9 @@ end_report(svn_ra_serf__xml_parser_t *pa
if (!checked_in_url &&
(!SVN_IS_VALID_REVNUM(info->dir->base_rev) || info->dir->fetch_props))
{
- return svn_error_create(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED, NULL,
- _("The OPTIONS response did not include the "
- "requested checked-in value"));
+ return svn_error_create(SVN_ERR_RA_DAV_MALFORMED_DATA, NULL,
+ _("The REPORT or PROPFIND response did not "
+ "include the requested checked-in value"));
}
info->dir->url = checked_in_url;