##// END OF EJS Templates
hashutil: new package for hashing-related features...
Augie Fackler -
r44511:0803f803 default draft
parent child Browse files
Show More
@@ -0,0 +1,9 b''
1 from __future__ import absolute_import
2
3 import hashlib
4
5 try:
6 from mercurial.thirdparty import sha1dc
7 sha1 = sha1dc.sha1
8 except (ImportError, AttributeError):
9 sha1 = hashlib.sha1
General Comments 0
You need to be logged in to leave comments. Login now