Checkout
rhuijben
committed
on 18 Jun 09
As part of the serf error handling overhaul (issue #3375) automatically
move the xml parser errors into the sessions pending error to allow… Show more
As part of the serf error handling overhaul (issue #3375) automatically

move the xml parser errors into the sessions pending error to allow

removing all the specific checks from the individual ra function

implementations.

* subversion/libsvn_ra_serf/blame.c

 (svn_ra_serf__get_file_revs):

* subversion/libsvn_ra_serf/commit.c

 (open_root): Remove specific checks on xml parser errors

* subversion/libsvn_ra_serf/getlocations.c

 (svn_ra_serf__get_locations): Remove xml parser error check and possible

   error leak.

* subversion/libsvn_ra_serf/getlocationsegments.c

 (svn_ra_serf__get_location_segments): Remove parsing, remove two possible

   error leaks and document another one.

* subversion/libsvn_ra_serf/locks.c

 (handle_lock): Put lock error in session state instead of xml state.

* subversion/libsvn_ra_serf/log.c

 (svn_ra_serf__get_log): Remove check on parser errors.

* subversion/libsvn_ra_serf/mergeinfo.c

 (svn_ra_serf__get_mergeinfo): Remove check on parser errors.

* subversion/libsvn_ra_serf/options.c

 (svn_ra_serf__get_options_parser_error): Remove function, uses xml parser

   error.

 (svn_ra_serf__exchange_capabilities): Don't check options parser errors.

* subversion/libsvn_ra_serf/property.c

 (svn_ra_serf__wait_for_props): Don't check xml parser errors.

* subversion/libsvn_ra_serf/ra_serf.h

 (svn_ra_serf__get_options_parser_error): Remove function.

 (SVN_SESSION_ERR): Add temporary helper.

* subversion/libsvn_ra_serf/replay.c

 (svn_ra_serf__replay):

* subversion/libsvn_ra_serf/update.c

 (finish_report): Don't check parser errors.

* subversion/libsvn_ra_serf/util.c

 (svn_ra_serf__handle_xml_parser): Put parser errors in the session.

Show less