[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

API compatiblility wrapper function dilemma

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-11 04:10:42 CET

This is the old signature for one of the functions that needs to change for the
property keyword feature:

svn_error_t *
svn_subst_build_keywords (svn_subst_keywords_t *kw,
                           const char *keywords_string,
                           const char *rev,
                           const char *url,
                           apr_time_t date,
                           const char *author,
                           apr_pool_t *pool);

and this is the new signature:

svn_error_t *
svn_subst_build_keywords2 (svn_subst_keywords_t *kw,
                            const char *keywords_string,
                            const char *rev,
                            const char *url,
                            apr_time_t date,
                            const char *author,
                            apr_hash_t *props,
                            apr_pool_t *pool);

Does anyone see a way that I can get back to the props hash with only the url to
go on? I see svn_client_url_from_path(), but no svn_client_path_from_url and
the only way to get the props seems to be svn_wc_prop_list().

Hmmm...

John

p.s. this is another function which probably should have never been exposed
in the public API

-- 
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 11 04:10:41 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.