Checkout
stefan2
committed
on 02 Jun 11
Replace calls to svn_string_create_from_buf with the much cheaper
svn_string_from_stringbuf. This is possible in all places where
source and… Show more
Replace calls to svn_string_create_from_buf with the much cheaper

svn_string_from_stringbuf. This is possible in all places where

source and target objects are expected to reside in the same pool

and the source will not be used after the conversion call.

* subversion/libsvn_client/patch.c

 (install_patched_prop_targets): replace here

* subversion/libsvn_repos/hooks.c

 (run_hook_cmd, lock_token_content): dito

* subversion/libsvn_subr/mergeinfo.c

 (svn_rangelist_to_string, svn_mergeinfo_to_string,

  svn_mergeinfo__catalog_to_formatted_string,

  svn_mergeinfo__to_formatted_string): dito

* subversion/libsvn_subr/subst.c

 (keyword_printf): dito

* subversion/libsvn_subr/utf.c

 (svn_utf_string_to_utf8, svn_utf_string_from_utf8): and here

* subversion/libsvn_wc/props.c

 (maybe_generate_propconflict, svn_wc_canonicalize_svn_prop): here

* subversion/svn/util.c:

 (svn_cl__edit_string_externally): and finally here

Show less