##// END OF EJS Templates
changelogv2: `copies-side-data` now implies `changelogv2`...
changelogv2: `copies-side-data` now implies `changelogv2` To store information about file changes and copies only requires sidedata support for the changelog. So we only enables `changelogv2`. This is less impactful and should help us to ship the changeset centric copy tracing sooner. Differential Revision: https://phab.mercurial-scm.org/D10662

File last commit:

r47543:521ac0d7 stable
r48039:a0738175 default
Show More
hashutil.py
10 lines | 215 B | text/x-python | PythonLexer
from __future__ import absolute_import
import hashlib
try:
from ..thirdparty import sha1dc # pytype: disable=import-error
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1