changeset 3679 | b12c5d107187 |
parent 3651 | fa15068a9945 |
child 4187 | 49d442a2207f |
--- a/hgext3rd/serverminitopic.py Thu Apr 19 10:50:24 2018 +0200 +++ b/hgext3rd/serverminitopic.py Thu Apr 19 10:53:59 2018 +0200 @@ -18,9 +18,14 @@ node, registrar, util, - wireproto, ) +try: + from mercurial import wireproto + wireproto.branchmap +except ImportError: # <= hg-4.5 + from mercurial import wireprotov1server as wireproto + if util.safehasattr(registrar, 'configitem'): configtable = {}