[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Creating a file using patch after cvs diff
From: |
Zeh Mau |
Subject: |
Creating a file using patch after cvs diff |
Date: |
30 Mar 2007 13:59:23 -0700 |
User-agent: |
G2/1.0 |
Hello!
In my workspace I have renamed a file from old.c to new.c.
After having used
cvs add new.c
and
cvs delete old.c
and
commit -m "Change" old.c new.c
I want to make a diff between the first revision and the current
revision.
Therefore I use
cvs diff -N -rFirst -Newest > mypatch.patch
Using this patch in the original folder (first revision) my intention
is to delete the file old.c and create a new one new.c
patch -E < mypatch.patch
Unfortunately, new.c has not been created because of:
Hmm... Looks like a normal diff to me...
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: new.c
|===================================================================
|RCS file: new.c
|diff -N new.c
--------------------------
File to patch:
So why is the new.c file not being created??? Any idea?
I am using WinXP with Cygwin and cvs version 1.11.12
Kind regards,
Zeh Mau
- Creating a file using patch after cvs diff,
Zeh Mau <=