##// END OF EJS Templates
tests: remove potential mtime ambiguity in a dirstate test...
tests: remove potential mtime ambiguity in a dirstate test If the test was fast enough, some mtime where not stored. We now wait long enough to ensure the mtime is no longer ambiguous. Differential Revision: https://phab.mercurial-scm.org/D11798

File last commit:

r47543:521ac0d7 stable
r49217:27218f06 default
Show More
hashutil.py
10 lines | 215 B | text/x-python | PythonLexer
Augie Fackler
hashutil: new package for hashing-related features...
r44516 from __future__ import absolute_import
import hashlib
try:
Matt Harbison
typing: disable import error warnings that are already handled...
r47543 from ..thirdparty import sha1dc # pytype: disable=import-error
Augie Fackler
hashutil: new package for hashing-related features...
r44516
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1