[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] CVS question
From: |
Arend Bayer |
Subject: |
Re: [gnugo-devel] CVS question |
Date: |
Sun, 1 Sep 2002 23:48:47 +0200 (CEST) |
On Sun, 1 Sep 2002, Gunnar Farneback wrote:
> Evan wrote:
> > Is there a way to create patches that create new files? cvs diff -N
> > doesn't seem to do that (cvs server: I know nothing about foo).
>
> This doesn't work until the "cvs add" command has been issued, but
> that requires CVS write access. I'm not aware of any good workaround
> for this other than sending new files separately.
I think such a workaround would be:
cvs diff >patch-file
diff -u /dev/null foo-dir/foo >>patch-file
Then patch-file doesn't look like a cvs diff, but it's good enough so
that patching works.
Arend