changeset 5042 | 51d0f2355215 |
parent 4814 | 48b30ff742cb |
child 5180 | 515d425c0a05 |
--- a/hgext3rd/serverminitopic.py Mon Dec 09 19:58:58 2019 +0700 +++ b/hgext3rd/serverminitopic.py Mon Dec 09 19:59:51 2019 +0700 @@ -23,10 +23,11 @@ util, ) +# hg <= 4.5 (b4d85bc122bd) try: - from mercurial import wireproto + from mercurial import wireproto # pytype: disable=import-error wireproto.branchmap -except ImportError: # <= hg-4.5 +except ImportError: from mercurial import wireprotov1server as wireproto if util.safehasattr(registrar, 'configitem'):