[cvsnt] Re: cvs diff options bug

user at domain.invalid user at domain.invalid
Mon Dec 15 12:12:14 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.

Hi Tony,

I tried cvs -q diff combination(cvs -q diff -R -N -r HCVW_R_4_6_5_0) but 
the output from diff is not suppressed(I mean the changes from files).
But the command cvs diff --brief -R -N -r HCVW_R_4_6_5_0 did what I want.

Thank you for your quick answer.


> 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

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