info-cvs
[Top][All Lists]
Advanced

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

Re: Any CVS tricks for creating patch files?


From: Spiro Trikaliotis
Subject: Re: Any CVS tricks for creating patch files?
Date: Tue, 8 Jun 2004 09:42:46 +0200
User-agent: Mutt/1.5.6i

Hello,

* On Mon, Jun 07, 2004 at 05:46:20PM -0400 address@hidden wrote:
 
> To create a patch, I could do this:
> 
>   % cvs co -d buggy -r Release_0_1 MyProj
>   % cvs co -d fixed -r Release_0_1_Bugfixes MyProj
> 
>   % LC_ALL=C TZ=UTC0 diff -Naur buggy fixed > Release_0_1_Patch
> 
> ...but I wonder if there are some CVS tricks to streamline the process
> further.

$ cvs co -r Release_0_1_Bugfixes MyProj
$ cd MyProf
$ cvs diff -uN -r Release_0_1 > ../Release_0_1_Patch

I think (but I have not tested it) that

$ cvs rdiff -uN -r Release_0_1 -r Releae_0_1_Bugfixes > Release_0_1_Patch

should work, too.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis         I'm subscribed to the mailing lists I'm posting,
http://www.trikaliotis.net/  so please refrain from Cc:ing me. Thank you.




reply via email to

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