creating patch for CVS tree

Ralf Corsepius ralf.corsepius at
Wed Jun 28 14:40:33 UTC 2006

On Wed, 2006-06-28 at 17:53 +0400, Sergei Organov wrote:
> Jerry Needell <jerry.needell at> writes:
> > 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?
> Unfortunately CVS has very poor support w.r.t. to read-only
> repositories. To generate proper patch with CVS, you need to 'cvs add'
> the new files, but CVS doesn't allow to do it with read-only
> repositories :(

Install cvsutils and use "cvsdo add"

> Now, the simplest way to do it (for me) 
Use cvsdo
cvs diff -u

That's all.


More information about the users mailing list