bug-cvs
[Top][All Lists]
Advanced

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

RE: cvs does not support adding files locally (to allow a diff et c)


From: Jim.Hyslop
Subject: RE: cvs does not support adding files locally (to allow a diff et c)
Date: Tue, 20 Jul 2004 13:29:10 -0400

J. Grant wrote:
> 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.
Ah, I see what you mean. I've been trying to think of a way to get around
this. cvs says diff's -N flag is supposed to treat non-existent files as
empty, but it doesn't seem to be working as advertised.


-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)




reply via email to

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