[darcs-users] Problem with a mailed patch

Peter Maxwell peter.maxwell at anu.edu.au
Wed Mar 3 02:17:54 UTC 2004


>> Error applying patch to recorded!

It turns out it's due to end-of-line characters.  Some of our files 
have at some time been edited on a windows system and have \r\n line 
endings.  When darcs emails a patch set it (or the mail system) 
normalises the line endings, then (I guess) the receiving darcs gets 
upset by the apparent mismatch in the last character(s) of the original 
lines as found in the patch hunks.  The equivalent non-emailed patch 
set is identical except for line endings, and applies without error.

  -- Peter Maxwell





More information about the darcs-users mailing list