Mercurial > hg
view mercurial/utils/hashutil.py @ 44936:aa568b6c6a10
heptapod-ci: also run tests for chg on python 2
I am not aware of any regular effort to run test with chg. So let's at least do it
here.
Differential Revision: https://phab.mercurial-scm.org/D8178
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 26 Feb 2020 00:31:23 +0100 |
parents | 7126d8b8e0e6 |
children | 521ac0d7047f |
line wrap: on
line source
from __future__ import absolute_import import hashlib try: from ..thirdparty import sha1dc sha1 = sha1dc.sha1 except (ImportError, AttributeError): sha1 = hashlib.sha1