Mercurial > public > mercurial-scm > hg
view mercurial/utils/hashutil.py @ 49538:b51e5c2ab5fd stable
rhg: add a test involving hgignore lookaround
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Mon, 31 Oct 2022 16:15:30 +0000 |
parents | 6000f5b25c9b |
children | f4733654f144 |
line wrap: on
line source
import hashlib try: from ..thirdparty import sha1dc # pytype: disable=import-error sha1 = sha1dc.sha1 except (ImportError, AttributeError): sha1 = hashlib.sha1