##// END OF EJS Templates
rhg: fix bug with matchers in rhg status --rev --rev...
rhg: fix bug with matchers in rhg status --rev --rev The fix was simply to move up the block of code that initializes the matcher from the arguments.

File last commit:

r52755:607e94e0 default
r53292:136e74c2 default
Show More
hashutil.py
10 lines | 211 B | text/x-python | PythonLexer
from __future__ import annotations
import hashlib
try:
from ..thirdparty import sha1dc # pytype: disable=import-error
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1