FW: [darcs-users] Problem with a mailed patch

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


Sorry, I think I confused this thread with a bug I reported very recently.
darcs is giving me the same error message, and my projects do not involve
MS-Windows. However, judging by the title, this thread is about someone
elses project.

Tim

-----Original Message-----
From: BARBOUR Timothy 
Sent: Wednesday, March 03, 2004 2:50 PM
To: 'Peter Maxwell'
Cc: darcs-users at abridgegame.org
Subject: RE: [darcs-users] Problem with a mailed patch


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

_______________________________________________
darcs-users mailing list
darcs-users at abridgegame.org
http://www.abridgegame.org/mailman/listinfo/darcs-users

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