You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bert Huijben <be...@qqmail.nl> on 2011/11/18 10:20:48 UTC

RE: svn commit: r1203234 - /subversion/trunk/subversion/svn/status.c


> -----Original Message-----
> From: cmpilato@apache.org [mailto:cmpilato@apache.org]
> Sent: donderdag 17 november 2011 17:12
> To: commits@subversion.apache.org
> Subject: svn commit: r1203234 - /subversion/trunk/subversion/svn/status.c
> 
> Author: cmpilato
> Date: Thu Nov 17 16:12:04 2011
> New Revision: 1203234
> 
> URL: http://svn.apache.org/viewvc?rev=1203234&view=rev
> Log:
> Follow-up to r1202799, also muting the display of unmodified file
> externals in 'svn status -q' output.
> 
> * subversion/svn/status.c
>   (svn_cl__print_status): Also skip unmodified file externals when
>     'suppress_externals_placeholders' is set.
> 
> Suggested by: danielsh
> 
> Modified:
>     subversion/trunk/subversion/svn/status.c
> 
> Modified: subversion/trunk/subversion/svn/status.c
> URL:
> http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/status.c?re
> v=1203234&r1=1203233&r2=1203234&view=diff
> ==========================================================
> ====================
> --- subversion/trunk/subversion/svn/status.c (original)
> +++ subversion/trunk/subversion/svn/status.c Thu Nov 17 16:12:04 2011
> @@ -548,9 +548,14 @@ svn_cl__print_status(const char *cwd_abs
>            && status->repos_node_status == svn_wc_status_none))
>      return SVN_NO_ERROR;
> 
> -  if (suppress_externals_placeholders
> -      && status->node_status == svn_wc_status_external)
> -    return SVN_NO_ERROR;
> +  if (suppress_externals_placeholders)
> +    {
> +      if (status->node_status == svn_wc_status_external)
> +        return SVN_NO_ERROR;
> +      if ((status->node_status == svn_wc_status_normal)
> +          && (status->file_external))
> +        return SVN_NO_ERROR;
> +    }

This also hides file externals that have their properties changed and maybe a few other states. 

See libsvn_wc/status.c is_sendable_status()...

I see Changelist and lock.

Directory externals can theoretically be tree conflicted in the parent working copy. (I don't think we currently introduce them in this case)

	Bert 



Re: svn commit: r1203234 - /subversion/trunk/subversion/svn/status.c

Posted by "C. Michael Pilato" <cm...@collab.net>.
On 11/18/2011 04:20 AM, Bert Huijben wrote:
> This also hides file externals that have their properties changed and maybe a few other states. 

I.  HATE.  FILE EXTERNALS.

I've added some more logic to the filter (see r1203687 and r1203690).
Please modify as you see the need, or continue flagging issues that you
notice.  Maybe by the end of this, I'll have a better understanding of our
crazy status API.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand