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

Re: "M_" in status

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2002-10-17 18:59:39 CEST

Thanks for the patch. Can you include a log message next time?

I've applied the patch to my working copy, but I'm going to have to
fix a myriad of tests that it broke, so it won't be going in right
away (If you have the time or inclination to patch them, that would be
great, if not, no problem).

Thanks!

-Fitz

andreas.koenig@anima.de (Andreas J. Koenig) writes:
> >>>>> On Thu, 17 Oct 2002 14:04:51 +0200, Rafael Garcia-Suarez <raphel.garcia
> -suarez@hexaflux.com> said:
>
> > andreas.koenig@anima.de (Andreas J. Koenig) wrote:
> > ...
> >> Index: subversion/clients/cmdline/status.c
> >> ===================================================================
> >> --- subversion/clients/cmdline/status.c
> >> +++ subversion/clients/cmdline/status.c Thu Oct 17 09:39:21 2002
>
> > While you're at it, I also notice this inaccurate comment in status.c
> > for the svn_cl__generate_status_codes() function :
>
> > This function is also used by commit-cmd.c
>
> > (this function appear to be used only in status.c. Turn it into static ?)
>
> You mean like so?
>
> Index: subversion/clients/cmdline/main.c
> ===================================================================
> --- subversion/clients/cmdline/main.c
> +++ subversion/clients/cmdline/main.c Thu Oct 17 10:05:13 2002
> @@ -383,7 +383,7 @@
> " '!' file or directory is missing and was removed via non-svn comma
> nd\n"
> " '~' versioned as directory, but is file, or vice versa\n"
> " Second column: Modifications of a file's or directory's properties\n
> "
> - " '_' or ' ' no modifications, 'M' Modified\n"
> + " ' ' no modifications, 'M' Modified\n"
> " Third column: A svn process has a lock in '.svn' for the file or dir
> ectory\n"
> " ' ' no lock held, 'L' lock being held\n"
> " Fourth column: Scheduled commit will contain addition-with-history\n
> "
> Index: subversion/clients/cmdline/status.c
> ===================================================================
> --- subversion/clients/cmdline/status.c
> +++ subversion/clients/cmdline/status.c Thu Oct 17 14:38:06 2002
> @@ -33,9 +33,8 @@
> /* Fill in the first four characters of STR_STATUS with status code
> characters, based on TEXT_STATUS, PROP_STATUS, LOCKED, and COPIED.
>
> - This function is also used by commit-cmd.c
> */
> -void
> +static void
> svn_cl__generate_status_codes (char *str_status,
> enum svn_wc_status_kind text_status,
> enum svn_wc_status_kind prop_status,
> @@ -85,10 +84,8 @@
> switch (prop_status)
> {
> case svn_wc_status_none:
> - prop_statuschar = ' ';
> - break;
> case svn_wc_status_normal:
> - prop_statuschar = '_';
> + prop_statuschar = ' ';
> break;
> case svn_wc_status_added:
> prop_statuschar = 'A';
>
>
>
>
>
> --
> andreas

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 17 19:00:44 2002

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.