[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: Bert Huijben <bert_at_qqmail.nl>
Date: Sun, 13 May 2012 23:26:05 +0200

> -----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.

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

[I haven't tracked this issue to this specific revision. But this appears to be the most relevant in the batch]

Received on 2012-05-13 23:26:44 CEST

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