You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by John Peacock <jp...@rowman.com> on 2004/04/24 11:28:43 UTC

[PATCH] Phase 2 of Keywords as Hash - Take 2

And again, the Phase 2 patch without a custom typedef.

John

==================================================================
Change all libraries to use new keyword hash functions from libsvn_subst
See issue #890 for details.

* subversion/libsvn_wc/merge.c
    (svn_wc_merge): use key hashes, new svn_wc__get_keywords() parameters,
     and svn_subst_copy_and_translate2()

*  subversion/libsvn_wc/translate.h
    (svn_wc__get_keywords): change signature to use keyword hash

*  subversion/libsvn_wc/props.c
    (validate_eol_prop_against_file):
    (svn_wc_prop_set): use svn_subst_translate_stream2(), keyword hashes,
     and new svn_wc__get_keywords()

*  subversion/libsvn_wc/adm_crawler.c
    (restore_file): use keyword hashes, svn_subst_copy_and_translate2(),
     and new svn_wc__get_keywords()

*  subversion/libsvn_wc/log.c
    (file_xfer_under_path):
    (install_committed_file): use keyword hashes, new svn_wc__get_keywords(),
     and svn_subst_copy_and_translate2()

*  subversion/libsvn_wc/adm_ops.c
    (revert_admin_things): use keyword hashes, new svn_wc__get_keywords(),
     and svn_subst_copy_and_translate2()

*  subversion/libsvn_wc/translate.c
    (svn_wc_translated_file): use keyword hashes, new svn_wc__get_keywords(),
     and svn_subst_copy_and_translate2()
    (svn_wc__get_keywords): change signature to use keyword hashes and
     svn_subst_build_keywords2()

*  subversion/libsvn_client/export.c
    (copy_versioned_files): use keyword hashes, new svn_wc__get_keywords(),
     and svn_subst_copy_and_translate2()
    (struct file_baton): add props hash
    (add_file): allocate storage for props hash
    (change_file_prop): store properties in file_baton

*  subversion/libsvn_client/cat.c
    (svn_client_cat): use keyword hashes, svn_subst_build_keywords2(),
     and svn_subst_translate_stream2()

*  subversion/libsvn_client/commit.c
    (send_file_contents): use keyword hashes, svn_subst_build_keywords2(),
     and svn_subst_translate_stream2()

*  subversion/tests/libsvn_wc/translate-test.c
    (substitute_and_verify): use keyword hashes



-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747