Mercurial > public > mercurial-scm > hg
view mercurial/utils/hashutil.py @ 50207:f35cf52acabd
delta-find: rename `delta-reuse-policy` to `pulled-delta-reuse-policy`
This make it clearer which type of delta we are talking about.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 23 Feb 2023 15:32:27 +0100 |
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