Checkout
Ivan Zhakov
committed
on 09 Oct 08
ra_serf: Introduce internal functions for creating XML serf buckets.

* subversion/libsvn_ra_serf/xml.c:
* subversion/libsvn_ra_serf/ra_serf… Show more
ra_serf: Introduce internal functions for creating XML serf buckets.

* subversion/libsvn_ra_serf/xml.c:

* subversion/libsvn_ra_serf/ra_serf.h:

 (svn_ra_serf__add_xml_header_buckets, svn_ra_serf__add_open_tag_buckets,

  svn_ra_serf__add_close_tag_buckets, svn_ra_serf__add_cdata_len_buckets):

  New functions for creating XML serf buckets.

 (svn_ra_serf__add_tag_buckets): Use new functions to generate XML.

* subversion/libsvn_ra_serf/blame.c

 (svn_ra_serf__get_file_revs),

* subversion/libsvn_ra_serf/commit.c

 (create_checkout_body, proppatch_walker, create_proppatch_body,

  create_delete_body),

* subversion/libsvn_ra_serf/getdate.c

 (create_getdate_body),

* subversion/libsvn_ra_serf/getlocations.c

 (svn_ra_serf__get_locations),

* subversion/libsvn_ra_serf/getlocationsegments.c

 (svn_ra_serf__get_location_segments)

* subversion/libsvn_ra_serf/getlocks.c

 (create_getlocks_body),

* subversion/libsvn_ra_serf/locks.c

 (create_getlock_body, create_lock_body),

* subversion/libsvn_ra_serf/log.c

 (svn_ra_serf__get_log)

* subversion/libsvn_ra_serf/merge.c

 (svn_ra_serf__merge_lock_token_list, create_merge_body),

* subversion/libsvn_ra_serf/mergeinfo.c

 (create_mergeinfo_body),

* subversion/libsvn_ra_serf/options.c

 (create_options_body),

* subversion/libsvn_ra_serf/replay.c

 (create_replay_body),

* subversion/libsvn_ra_serf/update.c

 (set_path, delete_path, link_path, finish_report, make_update_reporter): Use

  svn_ra_serf__add_* to generate XML buckets. Don't xml-escape parameters

  since svn_ra_serf__add_* will care about xml-escaping.

Show less