Mercurial > hg
view mercurial/utils/hashutil.py @ 49610:35d4c2124073
debug: add an option to display statistic about a unbundling operation
This will helps a lot to understand how the bundling decision have actually
impacted pull/unbundle on the other side.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 17 Oct 2022 22:19:43 +0200 |
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