[Top][All Lists]

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

Re: cvs 1.11.2 rdiff doesn't reset date on removed files

From: Derek Robert Price
Subject: Re: cvs 1.11.2 rdiff doesn't reset date on removed files
Date: Thu, 21 Nov 2002 11:17:06 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

address@hidden 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?




Email: address@hidden

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

reply via email to

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