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

Re: new bite-sized task, issue #598

From: Joseph Dane <jdane_at_studio3511.com>
Date: 2002-01-10 07:40:32 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Hey everybody, there's a new bite-sized task up, see
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=598

...

>
> If you've been looking for a chance to get involved in Subversion
> coding, this is an ideal bug...
>

just what I've been waiting for.

this is my first subversion patch submission. I appreciate any and
all comments, suggestions, flames, etc.

Fix issue #598

* status.c (svn_cl__print_status_list): Display a meaningful message
when calling 'status' on a non-existant (as opposed to simply
non-VC'd) file.

Index: ./status.c
===================================================================
--- ./status.c
+++ ./status.c Wed Jan 9 14:33:55 2002
@@ -216,10 +216,15 @@
       if ((skip_unrecognized) && (! status->entry))
         continue;
 
- if (detailed)
- print_long_format (path, status);
- else
- print_short_format (path, status);
+ if (status->text_status == svn_wc_status_none)
+ printf("file does not exist: %s\n", path);
+ else
+ {
+ if (detailed)
+ print_long_format (path, status);
+ else
+ print_short_format (path, status);
+ }
     }
 

-- 
joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 2006

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.