diff -r ee0d5e9d77b2 -r b4d85bc122bd hgext/clonebundles.py --- a/hgext/clonebundles.py Mon Apr 16 22:10:02 2018 -0700 +++ b/hgext/clonebundles.py Mon Apr 16 22:21:54 2018 -0700 @@ -198,7 +198,7 @@ from mercurial import ( extensions, - wireproto, + wireprotov1server, ) testedwith = 'ships-with-hg-core' @@ -215,4 +215,4 @@ return caps def extsetup(ui): - extensions.wrapfunction(wireproto, '_capabilities', capabilities) + extensions.wrapfunction(wireprotov1server, '_capabilities', capabilities)