info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to generate regular diffs with "cvs rdiff"?


From: Please
Subject: Re: Is there a way to generate regular diffs with "cvs rdiff"?
Date: Fri, 01 Dec 2006 16:56:52 -0800

On Fri, 1 Dec 2006 14:01:44 -0500 (EST), address@hidden (Larry Jones) wrote:

>Please writes:
>> 
>> Is there a way to generate regular diffs with "cvs rdiff"?
>
>What do you mean by "regular diffs"? 

I mean not context diffs and not unidiff diffs.  Regular diffs.  Like you get 
from
"diff a b".  And like you get from "cvs diff".  

Compare output from the first command with the second.  I'd like to be able to 
get
the first, but with cvs rdiff.

% cvs diff -r 1.1 build/templates/makefiles/makefile.proglib
Index: build/templates/makefiles/makefile.proglib
===================================================================
RCS file: /repos/projects/build/templates/makefiles/makefile.proglib,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
82a83,86
> # PROGRAM2 and PROGRAM3 may also be defined.
> #
>
> #
% cvs rdiff -r1.1 -r1.2 build/templates/makefiles/makefile.proglib
Index: build/templates/makefiles/makefile.proglib
diff -c build/templates/makefiles/makefile.proglib:1.1 
build/templates/makefiles/makefile.proglib:1.2
*** build/templates/makefiles/makefile.proglib:1.1      Wed Dec 11 13:51:32 1996
--- build/templates/makefiles/makefile.proglib  Tue Sep  2 14:51:51 1997
***************
*** 80,85 ****
--- 80,89 ----
  PROGRAM_LIBS =

  #
+ # PROGRAM2 and PROGRAM3 may also be defined.
+ #
+
+ #
  #     Include the library and program make
  #
  .include "bld.lib.mk"

>
>-Larry Jones
>
>I don't see why some people even HAVE cars. -- Calvin
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]