[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: Greg Stein <gstein_at_gmail.com>
Date: Fri, 26 Jun 2009 01:48:11 +0200

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.

>...

Cheers,
-g

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