[cvsnt] Re: cvs diff options bug

Tony Hoyle tmh at nodomain.org
Mon Dec 15 11:11:45 GMT 2003

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

Tony Hoyle wrote:

> There is no 'diff -q' in CVS.
FYI - from the source:


    In the case of -z and -q, "cvs diff" did not accept them even back
    when we called rcsdiff (at least, it hasn't accepted them

    In comparing rcsdiff to the new CVS implementation, I noticed that
    the following rcsdiff flags are not handled by CVS diff:

	   -y: perform diff even when the requested revisions are the
		   same revision number
	   -q: run quietly
	   -T: preserve modification time on the RCS file
	   -z: specify timezone for use in file labels

    I think these are not really relevant.  -y is undocumented even in
    RCS 5.7, and seems like a minor change at best.  According to RCS
    documentation, -T only applies when a RCS file has been modified
    because of lock changes; doesn't CVS sidestep RCS's entire lock
    structure?  -z seems to be unsupported by CVS diff, and has a
    different meaning as a global option anyway.  (Adding it could be
    a feature, but if it is left out for now, it should not break
    anything.)  For the purposes of producing output, CVS diff appears
    mostly to ignore -q.  Maybe this should be fixed, but I think it's
    a larger issue than the changes included here.


Basically with -q the answer seems to be that there's no point because 
it doesn't actually do anything.  --brief works (and is AFAIK the same 
option) although there's a comment that its output is 'silly' - make of 
that what you will.


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook