To be clear, I can produce two different errors. When the file gets
mangled by scp, I get a "bad patch bundle" error as you suspect.
However, when I follow the procedure you describe, I get:
darcs failed: Error applying patch to recorded!
darcs check tells me that the repo is consistent.
?
-Alex-
______________________________________________________________
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
On Fri, 4 Nov 2005, Juliusz Chroboczek wrote:
Except I am seeing the same problem if I receive the patch via email
rather than scp and apply it in DOS rather than bash.
I don't know, but I wouldn't be surprised if your mailer did end-of-
line conversion on attachments.
Please do all of the following steps:
- remount all of your Cygwin directories in binary mode;
- run ``darcs check'' on your repository;
- scp the patch to your Windows box;
- gzip -d;
- md5sum patchfile, and compare it to the hash on the Unix box;
- darcs apply.
Now I'm not convinced it will solve your problem, as I'm afraid that
the damage has already been done: the patches on the repository might
have been incorrectly converted earlier on. In that case, you'll need
to discard your repository on the Windows box and fetch a new copy.
Juliusz
** CRM114 Whitelisted by: [EMAIL PROTECTED] **
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users