You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@gmail.com> on 2010/06/03 00:42:12 UTC

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

On Fri, May 21, 2010 at 16:22,  <da...@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