[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: cvs add `find ./`]

From: Derek R. Price
Subject: Re: address@hidden: Re: cvs add `find ./`]
Date: Tue, 10 Oct 2000 08:59:59 -0400

It will still return an error code of '1' in both cases.  I was thinking about
creating differing error levels for fatal and non-fatal errors, but I thought 
would require more discussion before adding to the CVS API.  I was also 
thinking of
abolishing the error codes in add's non-fatal case altogether.  This would 
match the
behavior of 'cvs remove' (short of the additional warning message) but I wasn't 
whether this would have any far-reaching repercussions which would be better



Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
I am not a dentist.
I am not a dentist.
I am not a dentist...

          - Bart Simpson on chalkboard, _The Simpsons_

Robert Helmer wrote:

> cool.. this is pretty cool way to do it, will
> it give an error code of "1" or will it be
> errorlevel that means "file already exists"?
> That way I could differentiate between fatal
> and non-fatal errors reliably.
> ----- Forwarded message from "Derek R. Price" <address@hidden> -----
> Date: Mon, 09 Oct 2000 18:37:21 -0400
> From: "Derek R. Price" <address@hidden>
> Organization: Open Avenue
> X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-test1 i686)
> X-Accept-Language: en
> To: Rob <address@hidden>
> CC: address@hidden
> Subject: Re: cvs add `find ./`
> Rob wrote:
> > Is there any way to tell CVS that I want to
> > add only new files to the repository? Perhaps if
> > I "cvs diff $file" and check the error level for
> > each file?
> I just checked in a change to allow '-q' to suppress those warnings.
> CVS will still exit with an error code, however.  Not sure if this is
> optimal.  Let me know.
> The patch against the dev version is attached in case you want it
> early.  I expect it should work against 1.11.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]