##// END OF EJS Templates
run-tests: check that the mercurial we run with respect the flavor flags...
run-tests: check that the mercurial we run with respect the flavor flags This is a blocker to use flavored wheel and not too hard to do.

File last commit:

r52756:f4733654 default
r53411:824877fd default
Show More
hashutil.py
10 lines | 211 B | text/x-python | PythonLexer
from __future__ import annotations
import hashlib
try:
from ..thirdparty import sha1dc # pytype: disable=import-error
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1