info-cvs
[Top][All Lists]
Advanced

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

Re: .cvsrc question (quiet update impossible?)


From: Jim Hyslop
Subject: Re: .cvsrc question (quiet update impossible?)
Date: Sun, 02 Sep 2007 22:17:54 -0400
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan Bertels wrote:
> Hi,
> 
> as far as I can see I can set the -q (quiet) option in ".cvsrc" only for
> _all_ commands not just for e.g. update. Is this correct?

Yes, that's correct. There is no way to apply global options to
individual commands.

> I'm looking for a solution to make "cvs update" by default quiet and let
> all other commands untouched.

You could set up an alias (or batch script depending on your O/S), and
use it instead. Something like:

alias cvs_update='cvs -q update'

> Extra question: cvs -q update does not show the directory listing, but
> it lists unknown files in the sandbox anyway. Can I supress this? But I
> want to get output for all things cvs does (Updates, Patches, Conflicts,
> warnings, errors ...)

On a UNIX-like command (including Cygwin) pipe the output through:

egrep -v '^\?'

Other than that, I can't think of anything.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG227SLdDyDwyJw+MRAvCaAKDB0IJxlAUAQAvxOSH5X+DMKnOupwCdFUTV
cdoClj5Ds0YWtLPdEZbr1Eo=
=8dnE
-----END PGP SIGNATURE-----




reply via email to

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