[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Horrible error message on refused diff

From: Ben Reser <ben_at_reser.org>
Date: Wed, 3 Apr 2013 21:09:10 -0700

Was trying to look at a commit that was in another part of the ASF
repo today. Wanted to see the log and the diff. So hey I just do the
following in my command line (trunk SVN in this case) and I get:

[[[
$ svn-trunk log -c r1464241 --diff http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r1464241 | trawick | 2013-04-03 17:22:52 -0700 (Wed, 03 Apr 2013) | 8 lines

mod_dav: Improve error handling in dav_method_put(), add new
dav_join_error() function.

PR: 54145

Submitted by: Ben Reser <ben reser.org>
Reviewed by: trawick

../../share/wcs/svn-trunk/subversion/svn/log-cmd.c:868: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_client/log.c:630: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/log.c:601: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:819: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:776: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:2093:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:2074:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:2556:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:2464:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/xml.c:771: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/log.c:306: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/svn/log-cmd.c:469: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/svn/log-cmd.c:143: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_client/diff.c:2071: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_client/diff.c:1785: (apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/update.c:2888:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:2093:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:2074:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:1694:
(apr_err=175009)
../../share/wcs/svn-trunk/subversion/libsvn_ra_serf/util.c:1402:
(apr_err=175009)
svn: E175009: XML parsing failed: (403 Forbidden)
]]]

With a release build of 1.7 I end up with:
[[[
$ svn log -c r1464241 --diff http://svn.apache.org/repos/asf
------------------------------------------------------------------------
r1464241 | trawick | 2013-04-03 17:22:52 -0700 (Wed, 03 Apr 2013) | 8 lines

mod_dav: Improve error handling in dav_method_put(), add new
dav_join_error() function.

PR: 54145

Submitted by: Ben Reser <ben reser.org>
Reviewed by: trawick

svn: E175013: Access to '/repos/asf/!svn/me' forbidden
]]]

The 1.8 error message to be frank, stinks. XML parsing failed tells
the user nothing. The 1.7 error messages seems a little better, but
even that I'm not sure about.

I don't have time at the moment to dig into why but I figured I'd
throw this up here so will at least remember to look into it if
someone else doesn't.
Received on 2013-04-04 06:09:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.