[Top][All Lists]

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

Re: cvs does not support adding files locally (to allow a diff etc)

From: J. Grant
Subject: Re: cvs does not support adding files locally (to allow a diff etc)
Date: Tue, 13 Jul 2004 20:17:35 +0100
User-agent: Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.0.0; hi)


But, since you can't add the file to the repository, CVS will ignore the
file altogether. I still don't see your problem.

Thats the specific problem, it should not ignore the file, I should be able
to request it included to my local checkout copy of files IMO.

Let me put it this way - what are you trying to do? Why do you need to do a
'diff -u' on a non-existent file?

The file does exist though.  For instance, I wish to add "myheader.h" to
the project. I do this in my local copy adding #include "myheader.h".
now I want to submit a patch with my changes, so I do:

 "cvs diff -u >mychanges.patch".

As the cvs server is unaware of "myheader.h" and any other files I have
locally added it thus does not include it in the "mychanges.patch" file.

When I add several files to a project you can see how difficult it is.
As cvs will not let me add locally, I have to ensure I include all the
individual files, there specific location within the tree as well as the
"mychanges.patch" file of all my other unified diff format changes when
I send to other programmers for review.   A lot of unnecessary messing
about IMO.

Kind regards


reply via email to

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