How often do you type the following cvs commands?
cvs status | grep Status:
cvs status | grep Status: | grep -v Up-to-date
I got tired of doing this after about a month of using cvs (which I like
very much BTW) and made a few changes to src/status.c to allow me to do
something like:
cvs status -s
cvs status -u
cvs status -su
Which correspond to a one-line summary for each file (-s) or a listing
of only those files that are not Up-to-date (-u) or both, a one line
summary listing of only those files that are not Up-to-date (-su).
About a year ago, I think I saw a post to this list from someone else
who had done something similar but with options -b and -bb for brief and
very brief respectively. I never did try their patch out to see if it
did something close to what I've done above but it sounded similar
enough.
Recently, I thought I'd check and see if the -bb patch had made it into
1.10.something and it appears that it never did. So, I'm wondering, is
no one particularly interested in the functionality above? Were there
some problems with the -bb patch?
This small change has proven to be very useful (to me and the group of
people I work with at least). Now,
I use cvs status -su many times a day, probably as much or more than any
other cvs command.
I'd be more than happy to post my patch to this list if there's any
interest in it. It's about 300 lines in unidiff format, and about half
of this is due to a extra level of nesting (and the resulting extra
level of indentation). It shrinks to 85 lines with diff -b in the
default format.
--
Cheers,
Derek
_____________________________________________________________________
Derek Scherger Echologic Software Corporation
mailto:[EMAIL PROTECTED] http://www.echologic.com