[ILUG] CVS and Patch
Padraig Brady
padraig.brady at corvil.com
Fri Oct 25 13:52:06 IST 2002
caolan at csn.ul.ie wrote:
> On Fri, Oct 25, 2002 at 01:39:49 +0100, Rory Winston wrote:
>
>>Hi,
>>
>>Does anyone know how it might be possible to get CVS to automatically
>>generate diffs that I can feed to patch? I know you can use 'cvs
>>diff', but it's not in 'diff -u' format....If this is indeed possible,
>>does it have to be done on a file-by-file basis?
>
> add
> diff -u
> to your ~/.cvsrc
>
> to make that the default diff mode
Yes cvs' defaults are a bit silly:
$ cat ~/.cvsrc
diff -u
rdiff -u
checkout -P
update -P -d
More information about the ILUG
mailing list