[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-17 18:34:23 CEST

Andreas, can you also write a log message for this change, and include
in the patch updates to any documentation under doc/ ?

(I assume you've already seen Rafael Garcia-Suarez's comments and
will incorporate them into the next iteration of the patch.)

Thanks,
-Karl

andreas.koenig@anima.de (Andreas J. Koenig) writes:
> > (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 command\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 directory\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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
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:03:27 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.