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

Re: svn commit: r947161 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_wc/status.c

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 2 Jun 2010 20:42:12 -0400

On Fri, May 21, 2010 at 16:22, <dannas_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_wc/status.c Fri May 21 20:22:54 2010
>...
> @@ -331,10 +339,27 @@ assemble_status(svn_wc_status3_t **statu
>       an URL, at the very least. */
>   if (! file_external_p)
>     {
> -      svn_boolean_t is_wc_root; /* Not used. */
> +      if (parent_repos_root_url && repos_root_url &&
> +          (strcmp(parent_repos_root_url, repos_root_url) == 0))
> +        {
> +          const char *base = svn_dirent_basename(local_abspath, scratch_pool);
>
> -      SVN_ERR(svn_wc__check_wc_root(&is_wc_root, NULL, &switched_p, db,
> -                                    local_abspath, scratch_pool));
> +          if (! repos_relpath)
> +            {
> +              repos_relpath = svn_relpath_join( parent_repos_relpath, base,
> +                                                result_pool);

Style nit: toss that post-paren space.

>...

Cheers,
-g
Received on 2010-06-03 02:42:50 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.