mercurial/util.py
changeset 44060 a61287a95dc3
parent 44035 8ed8dfbeabb9
child 44436 09f3e003fc2a
--- a/mercurial/util.py	Mon Jan 13 17:14:19 2020 -0500
+++ b/mercurial/util.py	Mon Jan 13 17:15:14 2020 -0500
@@ -53,6 +53,7 @@
 )
 from .utils import (
     compression,
+    hashutil,
     procutil,
     stringutil,
 )
@@ -197,7 +198,7 @@
 
 DIGESTS = {
     b'md5': hashlib.md5,
-    b'sha1': hashlib.sha1,
+    b'sha1': hashutil.sha1,
     b'sha512': hashlib.sha512,
 }
 # List of digest types from strongest to weakest