creating patch for CVS tree

Karel Gardas kgardas at
Wed Jun 28 14:07:20 UTC 2006

Thanks to CVS limitations you will probably need to checkout second tree, 
keep both trees updated and then do recursive diff between them.

Personaly I find this too much horrible and so I use darcs 
( to get the diff. i.e. in updated CVS do:

darcs init
darcs add -r *
darcs rec -a
<type `Initial import' and then enter>

and now just do all your changes and add files by using `darcs add <file>' 
and once done just do:

darcs diff -u


On Wed, 28 Jun 2006, Jerry Needell wrote:

> I'll admit to being confused ans a novice with CVS. I downloaded the 
> tree via CVS and have made some changes. The changes were to a few existing 
> files and I have added some new files in existing subdirectories and added a 
> new subdirectory. The code builds and tests so now I am trying to generate a 
> patch for submission. How do I generate the patch? So far my attempts have 
> genrated diff files that include only chages to the pre-existing files, but 
> do not include the new files or subdirectory. Can someone give an example of 
> the proper way to  generate the patch?
> - thanks - Jerry

Karel Gardas                  kgardas at
ObjectSecurity Ltd. 

More information about the users mailing list