hgext/simple4server.py
branchmercurial-3.5
changeset 1750 1dbb8fdb725a
parent 1730 346de2c1b0e9
child 1757 86e71a0b3319
--- 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()