Update, I just pulled another copy of the repo onto my windows box and applied the patch to that copy and it worked!

Any reason why it wouldn't work on a repo that darcs check says is consistent? Any way to make the failing repo work properly?

-Alex-

On Fri, 4 Nov 2005, S. Alexander Jacobson wrote:

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] **




______________________________________________________________
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to