HomePhabricator

hgext: replace references to hashlib.sha1 with hashutil.sha1

Authored by durin42.

Description

hgext: replace references to hashlib.sha1 with hashutil.sha1

When in a non-pure build of Mercurial, this will provide protections
against SHA1 collision attacks.

Differential Revision: https://phab.mercurial-scm.org/D7851

Details