[cvsnt] Re: cvs diff options bug

Boyd Meier bmeier at acornsys.com
Mon Dec 15 16:48:09 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.


I've found a workaround for this, and that is to use the long option
--brief instead of -q.  It works fine for what I want...

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Tony Hoyle
Sent: Monday, December 15, 2003 5:12 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] Re: cvs diff options bug


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
    recently).

    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.

Tony

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt cvsnt downloads at march-hare.com https://www.march-hare.com/cvspro/en.asp#downcvs @CVSNT on Twitter CVSNT on Facebook




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