bug-cvs
[Top][All Lists]
Advanced

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

Re: Patch: Make cvs commit honor -q/-Q


From: Derek R. Price
Subject: Re: Patch: Make cvs commit honor -q/-Q
Date: Wed, 25 Feb 2004 23:24:55 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Would anyone mind if I checked in a patch like this one on stable since it does make CVS's behavior match its documentation? I'll probably expand the -q output a little bit, though I will likely keep it to one line.

Derek

M.E.O'Neill wrote:

cvs commit/checkin doesn't honor -q or -Q, and is extraordinarily chatty, which can be annoying in scripts that run cvs commit (with the -m option for the log message).

This goes against the documentation, which reads:

     -Q   Causes the command to be really quiet; the command will
          generate output only for serious problems.

     -q   Causes the command to be somewhat quiet;  informational
          messages,  such  as  reports  of recursion through sub-
          directories, are suppressed.

Redirecting stdout and stderr to /dev/null can serve as a bandaid, but that throws out legitimate errors too.

Enclosed is my patch to make it honor -q/-Q.  With -q, it now prints:

Checking in foo.txt
Checking in bar.txt

and with -Q it prints nothing if there are no errors.

    M.E.O.

Enc.

------------------------------------------------------------------------

_______________________________________________
Bug-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-cvs






reply via email to

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