info-cvs
[Top][All Lists]
Advanced

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

Re: Processing CVS errors


From: Donald Sharp
Subject: Re: Processing CVS errors
Date: Thu, 14 Dec 2000 07:50:33 -0500
User-agent: Mutt/1.2.4i

Nope.  You gotta look at standard error as well as the return code.
Also cvs diff doesn't always return what you think it should either ;)

donald
On Thu, Dec 14, 2000 at 12:56:21AM -0800, Reinstein, Shlomo wrote:
> Hi,
> Is there some way to process CVS errors in software, other than reading the
> text describing them from the standard error? I have Perl scripts which make
> extensive use of CVS, and I'd like these scripts to be able to process CVS
> errors and try to recover. I can see that CVS exits with a 0 return value
> for success and 1 for failure, but I'd like to know (within the Perl
> scripts) the reason for the failure and try to process them in some way.
> Thanks in advance, Shlomo.
> 
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

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