##// END OF EJS Templates
discovery: add a `devel', b'discovery.grow-sample`...
discovery: add a `devel', b'discovery.grow-sample` That option make it possible to disable the "sample growing" behavior when doing analysis and comparison. Differential Revision: https://phab.mercurial-scm.org/D9798

File last commit:

r44516:7126d8b8 default
r47017:397e39ad default
Show More
hashutil.py
10 lines | 183 B | text/x-python | PythonLexer
Augie Fackler
hashutil: new package for hashing-related features...
r44516 from __future__ import absolute_import
import hashlib
try:
from ..thirdparty import sha1dc
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1