When using "diff -urN" to create a patch, if a file no longer exists, then the date in
the diff heading is reset to 0, and the contents of the file are removed by the diff. When the
"patch" command sees that the date has been reset, it knows to remove the file rather
than just leaving an empty file. Here's an example:
diff -urN test-1.0/mytext.txt test-1.3/mytext.txt
--- test-1.0/mytext.txt Mon May 8 14:22:28 2000
+++ test-1.3/mytext.txt Wed Dec 31 19:00:00 1969
cvs rdiff doesn't do this. It always sets the timestamp from the RCS file.
So, you can't remove files using patches made by cvs rdiff. This is a pain.
Here's my patch: