[darcs-devel] [issue218] Patch bundle failed hash
simonpj
bugs at darcs.net
Thu Jul 6 06:48:34 PDT 2006
New submission from simonpj <simonpj at microsoft.com>:
Dear darcs developers
Still struggling. I'm using darcs 1.0.8 on Windows.
I'm on Windows, trying to push a patch to
Darcs.haskell.org/ghc-fc
(a repository Simon and I have just created, with darcs get --partial
from the main HEAD).
Two problems.
1 (minor): there's an irritating (and perhaps ominous) message from ssh
(below).
2 (fatal): all goes well to begin with; then the push fails with
darcs failed: Patch bundle failed hash!
This probably means that the patch has been corrupted by a mailer.
The most likely culprit is CRLF newlines.
The "likely culprit" indeed seems likely. I'm pushing from Windows to
darcs.haskell.org which runs Unix. But the patch has never left the
repository, and has never been near a mailer.
What do I do?
Thanks
Simon
sh-2.04$ darcs push
Usage: ssh [options] host [command]
Options:
-l user Log in using this user name.
-n Redirect input from /dev/null.
-A Enable authentication agent forwarding.
-a Disable authentication agent forwarding.
-X Enable X11 connection forwarding.
-x Disable X11 connection forwarding.
-i file Identity for public key authentication (default:
~/.ssh/identity)
-t Tty; allocate a tty even if command is given.
-T Do not allocate a tty.
-v Verbose; display verbose debugging messages.
Multiple -v increases verbosity.
-V Display version number only.
-P Don't allocate a privileged port.
-q Quiet; don't display any warning messages.
-f Fork into background after authentication.
-e char Set escape character; ``none'' = disable (default: ~).
-c cipher Select encryption algorithm: ``3des'', ``blowfish''
-m macs Specify MAC algorithms for protocol version 2.
-p port Connect to this port. Server must be on the same port.
-L listen-port:host:port Forward local port to remote address
-R listen-port:host:port Forward remote port to local address
These cause ssh to listen for connections on a port, and
forward them to the other side by connecting to host:port.
-C Enable compression.
-N Do not execute a shell or command.
-g Allow remote hosts to connect to forwarded ports.
-1 Force protocol version 1.
-2 Force protocol version 2.
-4 Use IPv4 only.
-6 Use IPv6 only.
-o 'option' Process the option as if it was read from a configuration
file.
-s Invoke command (mandatory) as SSH2 subsystem.
Pushing to "simonpj at darcs.haskell.org:/home/darcs/ghc-fc"...
Wed Jun 21 09:34:44 GMT Daylight Time 2006 simonpj at microsoft.com
* Remove compiler from the boring list (how did it get there?)
Shall I push this patch? (1/2) [ynWvpxqadjk], or ? for help: y
Wed Jul 5 10:44:20 GMT Daylight Time 2006 simonpj at microsoft.com
* Massive patch for the first months work adding System FC to GHC
This is (sadly) all done in one patch to avoid Darcs bugs.
It's not complete work... more FC stuff to come. A compiler
using just this patch will fail dismally.
Shall I push this patch? (2/2) [ynWvpxqadjk], or ? for help: y
darcs failed: Patch bundle failed hash!
This probably means that the patch has been corrupted by a mailer.
The most likely culprit is CRLF newlines.
sh-2.04$
----------
messages: 784
nosy: droundy, simonmar, simonpj, tommy
status: unread
title: Patch bundle failed hash
____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue218>
____________________________________
More information about the darcs-devel
mailing list