info-cvs
[Top][All Lists]
Advanced

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

RE: "cvs -n up" request to remove '?' entries


From: Jim.Hyslop
Subject: RE: "cvs -n up" request to remove '?' entries
Date: Fri, 18 Mar 2005 11:22:53 -0500

Paul vL wrote:
> I'm a happy cvs user for many years. One of the more annoying 
> things however is the behaviour of
> cvs -n up for large working directories; I use a global -q 
> option to trim down output, but
> still get an enormous list (200+) of '?' before I get my one 
> or two 'M' entries.
> Using -Q will make things worse: now ONLY the '?' lines 
> appear, and the 'M' entries DISAPPEAR!
> 
> I would really like an option to just have the line carrying 
> information about updates and locally
> modified files, i.e. an option to remove all the '?' entries.
Suppressing '?' entries is far too dangerous - you could easily forget to
add a new file to the repository.

Instead, you need to clean up your act. Use the .cvsignore feature to ignore
files you don't need to add to the repository (such as intermediate files)
and delete any unneeded, temporary files. It's far better to run lean and
mean, than to try to ignore the fat.

> (btw on Windows my grep behaves quite awkward regarding using 
> '?', therefore that is currently not an option.)
Sure it is. Just get a decent grep - I use Cygwin, and have c:\cygwin\bin as
part of my standard path. I get the best of both worlds - the power and
flexibility of UNIX-like tools, and the native behaviour of Windows (OK,
maybe "best" isn't the right word in that context :=)

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )





reply via email to

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