This is actually a major regression, since I am seeing this, if the
global cache does not exist (running cabal test get-http -- you need
lighttpd for that, and you need to run *only* that -- an earlier test
would have created the global cache...).
+ darcs get http://localhost:23032/R S
Hash failure in
http://localhost:23032/R/_darcs/pristine.hashed/87428fc522803d31065e7bce
3cf03fe475096631e5e07bbd7a0fde60c4cf25c7
darcs failed: Couldn't fetch
`87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7'
in subdir pristine.hashed from sources:
For all I can tell, this is because the code tries to check cache
reachability *before* trying to create it, which consequently leads it
to to forget to write the actual file it intended to write.
Well, seems like an easy fix, submitting now... please review ASAP.
|