info-cvs
[Top][All Lists]
Advanced

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

Re: Custom error message to client


From: Larry Jones
Subject: Re: Custom error message to client
Date: Thu, 7 Mar 2002 11:28:20 -0500 (EST)

Norberto Meijome writes:
> 
> I've tried a simple
> echo 'msg'
> exit 1
> 
> and
> 
> echo 'msg' >/dev/stderr
> exit 1
> 
> but I just get in the client:
> 
> cvs [login aborted]: recv() from server cvs.au.office.aol.com: 
> Connection reset by peer
> 
> *****CVS exited normally with code 1*****
> 
> Does anybody know where can I find a pointer to the proper way of doing 
> this?

The client/server protocol is documented in doc/cvsclient.texi. 
Basically, you should do something like:

        #! /bin/sh
        echo 'E This is a message to be displayed'
        echo 'I HATE YOU'

Make sure you have the #! line -- most systems won't exec scripts
without one.

-Larry Jones

What this games needs are negotiated settlements. -- Calvin



reply via email to

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