darcs

Issue 2184 darcs get of this HTTP-redirected repo gives hash failure errors

Title darcs get of this HTTP-redirected repo gives hash failure errors
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List simon
Assigned To
Topics

Created on 2012-04-22.17:54:11 by simon, last changed 2017-07-31.00:41:17 by gh.

Files
File name Uploaded Type Edit Remove
bad.log simon, 2012-04-22.17:54:10 application/octet-stream
good.log simon, 2012-04-22.17:54:31 application/octet-stream
Messages
msg15596 (view) Author: simon Date: 2012-04-22.17:54:10
1. Summarise the issue (what were doing, what went wrong?)

darcs get of a HTTP repo url which redirects to a new url, eg:

    darcs get http://joyful.com/oldrepos/hledger --no-cache --lazy --debug-http

(which redirects to http://joyful.com/darcsden/simon/hledger) follows the redirects as expected 
but gives hash failure errors. See attached log.

2. What behaviour were you expecting instead?

A normal successful get.

3. What darcs version are you using? (Try: darcs --exact-version)

darcs 2.7.99.2 (see log).

4. What operating system are you running?

Ubuntu Natty on x386.

The redirected urls are served by darcsden and snap (some not-latest version). And it turns out 
this is important, redirecting to a non-darcsden url works without error. I'm attaching logs of 
the failing get and a successful one not involving darcsden/snap.
Attachments
msg15597 (view) Author: simon Date: 2012-04-22.18:02:58
Also, adding --no-http-pipelining makes it work.
History
Date User Action Args
2012-04-22 17:54:11simoncreate
2012-04-22 17:54:31simonsetfiles: + good.log
2012-04-22 18:02:59simonsetmessages: + msg15597
2017-07-31 00:41:17ghsetstatus: unknown -> given-up