diff -r f7011b44d205 -r ad8d8dc9be3f mercurial/wireprotov1server.py --- a/mercurial/wireprotov1server.py Fri Oct 05 22:31:12 2018 +0300 +++ b/mercurial/wireprotov1server.py Fri Oct 05 22:52:24 2018 +0300 @@ -286,6 +286,11 @@ caps.append('bundle2=' + urlreq.quote(capsblob)) caps.append('unbundle=%s' % ','.join(bundle2.bundlepriority)) + if repo.ui.configbool('experimental', 'narrow'): + caps.append(wireprototypes.NARROWCAP) + if repo.ui.configbool('experimental', 'narrowservebrokenellipses'): + caps.append(wireprototypes.ELLIPSESCAP) + return proto.addcapabilities(repo, caps) # If you are writing an extension and consider wrapping this function. Wrap