Checkout
rhuijben
committed
on 05 Aug 10
Allow many more code paths in serf to return proper error codes by making
the request_body and request_header delegates return an svn_error_… Show more
Allow many more code paths in serf to return proper error codes by making

the request_body and request_header delegates return an svn_error_t *.

Except for this callback change this patch should not introduce functional

changes.

* subversion/libsvn_ra_serf/blame.c

 (create_file_revs_body): Update arguments and return value.

* subversion/libsvn_ra_serf/commit.c

 (create_checkout_body

  setup_proppatch_headers,

  create_proppatch_body,

  create_put_body,

  create_empty_put_body,

  setup_copy_file_headers,

  setup_delete_headers,

  create_delete_body): Update return type and/or arguments.

* subversion/libsvn_ra_serf/getdate.c

 (create_getdate_body): Update arguments and return type.

* subversion/libsvn_ra_serf/getlocations.c

 (get_locations_body): Update callback prototype.

* subversion/libsvn_ra_serf/getlocationsegments.c

 (create_gls_body): Update callback prototype.

* subversion/libsvn_ra_serf/getlocks.c

 (create_getlocks_body): Update callback prototype.

* subversion/libsvn_ra_serf/get_deleted_rev.c

 (create_getdrev_body): Update callback prototype.

* subversion/libsvn_ra_serf/locks.c

 (set_lock_headers,

  create_getlock_body

  setup_getlock_headers

  create_lock_body,

  set_unlock_headers): Update callback prototype.

* subversion/libsvn_ra_serf/log.c

 (create_log_body):

* subversion/libsvn_ra_serf/merge.c

 (setup_merge_headers,

  create_merge_body): Update callback prototype.

* subversion/libsvn_ra_serf/mergeinfo.c

 (create_mergeinfo_body): Update callback prototype.

* subversion/libsvn_ra_serf/options.c

 (create_options_body):

* subversion/libsvn_ra_serf/property.c

 (setup_propfind_headers,

  create_propfind_body): Update callback prototype.

* subversion/libsvn_ra_serf/ra_serf.h

 (svn_ra_serf__request_body_delegate_t,

  svn_ra_serf__request_header_delegate_t): Return an svn_error_t *.

* subversion/libsvn_ra_serf/replay.c

 (create_replay_body): Update callback prototype.

* subversion/libsvn_ra_serf/update.c

 (headers_fetch,

  create_update_report_body): Update callback prototype.

* subversion/libsvn_ra_serf/util.c

 (setup_request_cb): Handle errors from the delegates

Show less