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

Re: svn commit: r1337781 - /subversion/trunk/subversion/libsvn_ra_serf/getlocationsegments.c

From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 14 May 2012 06:06:55 -0400

On Sun, May 13, 2012 at 5:26 PM, Bert Huijben <bert_at_qqmail.nl> wrote:
>
>
>> -----Original Message-----
>> From: gstein_at_apache.org [mailto:gstein_at_apache.org]
>> Sent: zondag 13 mei 2012 7:33
>> To: commits_at_subversion.apache.org
>> Subject: svn commit: r1337781 -
>> /subversion/trunk/subversion/libsvn_ra_serf/getlocationsegments.c
>>
>> Author: gstein
>> Date: Sun May 13 05:33:01 2012
>> New Revision: 1337781
>>
>> URL: http://svn.apache.org/viewvc?rev=1337781&view=rev
>> Log:
>> Switch get-location-segments over to v2 xml parsing.
>>
>> * subversion/libsvn_ra_serf/getlocationsegments.c:
>>   (gls_context_t): remove SUBPOOL, INSIDE_REPORT, DONE
>>   (INITIAL, REPORT, SEGMENT): add enum for parse states
>>   (gls_ttable): new transition table
>>   (start_gls, end_gls): removed; obsolete.
>>   (gls_closed): new close handler. call the receiver with the segment
>>     information.
>>   (svn_ra_serf__get_location_segments): drop the old parsing stuff.
>>     add the new v2 parsing. use run_one(). remove the detection of
>>     ending within the report element.
>
> The serf/Win32 buildbot currently reports two test failures:
> FAIL:  basic_tests.py 32: info on file not existing in HEAD
> FAIL:  log_tests.py 33: log with unrelated peg and operative rev targets
>
> Both appear to be caused by a leaked error generated from a server report via util.c line 902 (called from svn_ra_serf__expect_empty_body()) for svn_ra_serf__get_locations() calls.
>
> The serf call currently returns success, while it probably should have reported this error.

Yup. It was an error that came from the server. No client-side error
occurred, so success was returned. We now look for potential server
errors on most responses. (in process on getting all of them to
look...)

>
> (You might have fixed an old error as I remember that there used to be some behavior difference between ra implementations here)

Fixed in 1338128. Thanks!

Cheers,
-g
Received on 2012-05-14 12:07:30 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.