See:
* https://lists.osuosl.org/pipermail/darcs-devel/2018-March/018753.html
* https://irclog.perlgeek.de/darcs/2018-03-28#i_15976226
patch b7234d50814061309ec559cfcb63c346512f9895
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Wed Mar 28 16:03:40 -03 2018
* stop supporting SHA1-hashed files
Hashed repos were internally hashed with SHA1 for a short amount of
time by unreleased Darcs versions before Darcs 2 (in 2008). We drop
the ability to read them, so that the current code makes more sense.
Now SHA1 only exists in Darcs to hash patch infos. The testsuite is
adapted because two repos tarballs are internally hashed with SHA1.
Hmm, "unreleased Darcs versions before Darcs 2" really sounds like we
don't need to support that any longer.
But note that SHA1 is used for two other purposes besides hashing patch
meta data: (1) for patch bundles and (2) in the patch index.
> But note that SHA1 is used for two other purposes besides hashing patch
> meta data: (1) for patch bundles and (2) in the patch index.
* (1) Indeed, I forgot about that one (in Darcs.Patch.Bundle ) so I
should change this patch's name and description
* (2) is the very same hash of patch infos.
Here is the updated patch, I also changed back the constructor for the
SHA1 type from SHA1_ to SHA1 (we no longer need to avoid name collision
in Darcs.Util.Hash).