[darcs-users] Problem with a mailed patch

BARBOUR Timothy Timothy_BARBOUR at rta.nsw.gov.au
Wed Mar 3 03:50:06 UTC 2004


> -----Original Message-----
> From: Peter Maxwell [mailto:peter.maxwell at anu.edu.au]
[...]
> >> 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) 

Windows is definitely not involved.

> 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.

The repository was converted, using the script, so I cannot see how
line-endings should be wrong.

Tim

-- sorry about the lame .sig --

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.




More information about the darcs-users mailing list