Hi folks, here's a little more info regarding my suggested new status
feature (cvs status -us).

First, thanks for the information on the cvs -nq update command. I had
not known about this and it does provide some similar information,
however it is rather terse and verbose at the same time. 

For example:

voodoo$ cvs -nq update
? .xsession-errors
? .Xauthority
? .wmstock
...
...stuff omitted for brevity...
...
? GNUstep/.AppInfo
? GNUstep/Library
? GNUstep/Defaults/WMGLOBAL
? GNUstep/Defaults/WMState
? GNUstep/Defaults/WMWindowAttributes
? GNUstep/Defaults/WindowMaker
? GNUstep/Defaults/WPrefs
M notes/note-0002.txt
M notes/note-0003.txt
? notes/linuxlog.txt
A testing/bar
A testing/foo
voodoo$ 

voodoo$ cvs status -us
cvs status: Examining .
cvs status: Examining GNUstep
cvs status: Examining GNUstep/Defaults
cvs status: Examining notes
note-0002.txt                    Locally Modified  W: 1.1         R:
1.1        
note-0003.txt                    Locally Modified  W: 1.3         R:
1.3        
cvs status: Examining testing
bar                              Locally Added     W: New         R:
None       
foo                              Locally Added     W: New         R:
None       
voodoo$ 

Which would you rather look at?

In terms of wrapping cvs in a script to produce similar output, while
this does work, I've seen too many bad script wrappers around SCCS, RCS,
PVCS, etc. to want to write yet another one. I'd much prefer a system
that does everything that is generally useful (not site-specific) that
could stand on it's own. At the moment, CVS pretty much fits this bill,
and is generally a really great tool. This is just a small and simple
feature that I think would be helpful to many people.

Finally, in terms of this as a bloat feature, well... 

176995 1405 -rwxr-xr-x   1 derek    users     1438240 Apr 14 21:07
cvs-1.10.8/src/cvs
 18756 1406 -rwxr-xr-x   1 derek    users     1439055 Apr  5 20:30
cvs-1.10.8x/src/cvs

The patch adds about 800 bytes, and...

voodoo$ cvs --help status
Usage: cvs status [-suvlR] [files...]
        -s      Summary format; one line for the file
        -u      Exclude Up-to-date files
        -v      Verbose format; includes tag information for the file
        -l      Process this directory only (not recursive).
        -R      Process directories recursively.
(Specify the --help global option for a list of other help options)
voodoo$ 

The number of options to status is relatively small so this shouldn't be
particularly confusing.

If there isn't much general interest in this feature then obviously it
won't go anywhere, but I do remember seeing someone else post a very
similar patch to this group a year or so ago and that seems to indicate
that it could be a good thing to have. It doesn't much matter if my
patch makes it in, if the other one was superior or simpler or whatever
then that would be fine too. I'd just like to have the functionality.

-- 
Cheers,
Derek
_____________________________________________________________________
Derek Scherger                         Echologic Software Corporation
mailto:[EMAIL PROTECTED]                   http://www.echologic.com

Reply via email to