diff -r 981d895d69cf -r 1dbb8fdb725a hgext/simple4server.py --- a/hgext/simple4server.py Fri May 06 00:24:00 2016 +0200 +++ b/hgext/simple4server.py Fri Oct 28 16:59:32 2016 +0200 @@ -8,11 +8,12 @@ For client side usages it is recommended to use the evolve extension for improved user interface.''' -testedwith = '3.3.3 3.4-rc' -buglink = 'http://bz.selenic.com/' +testedwith = '3.3 3.4-rc' +buglink = 'https://bz.mercurial-scm.org/' 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()