[EMAIL PROTECTED] wrote:

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:

Could you resubmit this patch with a test case, as per the HACKING file in the top level of the source distribution?

Thanks,

Derek

--
*8^)

Email: [EMAIL PROTECTED]

Get CVS support at <http://ximbiot.com>!
--
There are no absolutes.





_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs


Reply via email to