##// END OF EJS Templates
push: another test for checks preventing pushing orphaness to a server...
push: another test for checks preventing pushing orphaness to a server In this one, orphan was create with and amend instead of a prune.

File last commit:

r44516:7126d8b8 default
r45784:fc751824 stable
Show More
hashutil.py
10 lines | 183 B | text/x-python | PythonLexer
from __future__ import absolute_import
import hashlib
try:
from ..thirdparty import sha1dc
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1