changeset 1713 | 00612a019547 |
parent 1548 | 4229d1dae5ad |
child 1727 | c353a84fb09f |
--- a/hgext/simple4server.py Fri May 27 17:36:07 2016 +0200 +++ b/hgext/simple4server.py Wed Jun 15 15:19:38 2016 -0700 @@ -13,6 +13,7 @@ import mercurial.obsolete +import hashlib import struct from mercurial import util from mercurial import wireproto @@ -192,7 +193,7 @@ for i in unfi: ctx = unfi[i] entry = 0 - sha = util.sha1() + sha = hashlib.sha1() # add data from p1 for p in ctx.parents(): p = p.rev()