creating patch for CVS tree
Ralf Corsepius
ralf.corsepius at rtems.org
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 unh.edu> writes:
> > I'll admit to being confused ans a novice with CVS. I downloaded the
> > 4.6.99.3 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
and
cvs diff -u
That's all.
Ralf
More information about the users
mailing list