On Tue, Jun 30, 2009 at 00:02, Hyrum K. Wright<hyrum_at_hyrumwright.org> wrote:
> Author: hwright
> Date: Mon Jun 29 15:02:55 2009
> New Revision: 38254
>
> Log:
> Rev the property getting API to use a abspath and a wc_context.
>
> [ Note: nothing except the backward compat wrapper currently
Unfinished note here...
>...
> +++ trunk/subversion/libsvn_wc/props.c  Mon Jun 29 15:02:55 2009     (r38254)
>...
> @@ -1799,10 +1798,10 @@ svn_wc_prop_get(const svn_string_t **val
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â _("Property '%s' is an entry property"), name);
> Â Â }
>
> - Â SVN_ERR(svn_dirent_get_absolute(&local_abspath, path, pool));
> + Â SVN_ERR(svn_wc__internal_propget(value, name, local_abspath, wc_ctx->db,
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â result_pool, scratch_pool));
>
> - Â return svn_error_return(svn_wc__internal_propget(value, name, local_abspath,
> - Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â db, pool, pool));
> + Â return SVN_NO_ERROR;
> Â }
Any reason not to stick to: return svn_error_return(... ?
Cheers,
-g
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2381366
Received on 2009-08-07 18:19:21 CEST