diff -r 383fdfa6bba9 -r 268662aac075 mercurial/hg.py --- a/mercurial/hg.py Thu Aug 22 16:47:31 2019 -0700 +++ b/mercurial/hg.py Sun Aug 18 00:45:33 2019 +0300 @@ -39,7 +39,6 @@ node, phases, pycompat, - repository as repositorymod, scmutil, sshpeer, statichttprepo, @@ -51,6 +50,10 @@ vfs as vfsmod, ) +from .interfaces import ( + repository as repositorymod, +) + release = lock.release # shared features