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

Re: svn commit: r38204 - trunk/subversion/libsvn_wc

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Thu, 25 Jun 2009 23:07:46 -0500

On Jun 25, 2009, at 6:48 PM, Greg Stein wrote:

> On Thu, Jun 25, 2009 at 23:21, Hyrum K.
> Wright<hyrum_at_hyrumwright.org> wrote:
>> ...
>> +++ trunk/subversion/libsvn_wc/deprecated.c Thu Jun 25 14:21:50
>> 2009 (r38204)
>> ...
>> + if (recurse)
>> + return svn_error_return(svn_wc_relocate4(wc_ctx,
>> local_abspath, from, to,
>> + validator,
>> validator_baton,
>> + pool));
>> + else
>> + {
>> + /* This gets sticky. We need to do the above relocation,
>> and then
>> + relocate each of the children *back* to the original
>> location. Ugh.
>> + */
>> + const apr_array_header_t *children;
>> + apr_pool_t *iterpool;
>> + int i;
>> +
>> + SVN_ERR(svn_wc_relocate4(wc_ctx, local_abspath, from, to,
>> + validator, validator_baton, pool));
>
> How about just doing this call regardless, then for non-recurse do the
> child-relocation.

Oh, duh. I'll fix it shortly.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2365585
Received on 2009-06-26 06:08:18 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.