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

Re: svn commit: r955846 - /subversion/trunk/subversion/libsvn_wc/update_editor.c

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Sat, 19 Jun 2010 11:17:07 +0530

Greg Stein wrote:
> On Fri, Jun 18, 2010 at 02:39, <stylesen_at_apache.org> wrote:
>> ...
>> +++ subversion/trunk/subversion/libsvn_wc/update_editor.c Fri Jun 18 06:39:31 2010
>> @@ -5208,10 +5208,12 @@ make_editor(svn_revnum_t *target_revisio
>> if (depth == svn_depth_unknown)
>> depth_is_sticky = FALSE;
>>
>> - /* Get the anchor entry, so we can fetch the repository root. */
>> - SVN_ERR(svn_wc__node_get_repos_info(&repos_root, &repos_uuid, wc_ctx,
>> - anchor_abspath, TRUE, FALSE,
>> - result_pool, scratch_pool));
>> + /* Get the anchor's repository root and uuid. */
>> + SVN_ERR(svn_wc__db_read_info(NULL,NULL, NULL, NULL, &repos_root, &repos_uuid,
>> + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
>> + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
>> + NULL, NULL, wc_ctx->db, anchor_abspath,
>> + result_pool, scratch_pool));
>
> These are not equivalent. The read_info() might return NULL values for
> repos_*, indicating they are inherited from the parent. The node
> function will grab the data from the parent, if/when necessary.

What will be the alternative function to use here?

Thank You.

-- 
Senthil Kumaran S
http://www.stylesen.org/
Received on 2010-06-19 07:48:26 CEST

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.