changeset 29341 | 0d83ad967bf8 |
parent 29101 | 57a24a85a2bc |
child 29428 | 247ea0dfdb94 |
--- a/hgext/chgserver.py Fri Jun 10 00:25:07 2016 -0400 +++ b/hgext/chgserver.py Fri Jun 10 00:12:33 2016 -0400 @@ -43,6 +43,7 @@ import SocketServer import errno import gc +import hashlib import inspect import os import random @@ -76,7 +77,7 @@ def _hashlist(items): """return sha1 hexdigest for a list""" - return util.sha1(str(items)).hexdigest() + return hashlib.sha1(str(items)).hexdigest() # sensitive config sections affecting confighash _configsections = [