--- a/mercurial/bundle2.py Wed Oct 31 11:02:08 2018 +0100
+++ b/mercurial/bundle2.py Wed Oct 31 15:27:06 2018 +0300
@@ -1691,8 +1691,8 @@
includepats = kwargs.get(r'includepats')
excludepats = kwargs.get(r'excludepats')
- narrowstream = repo.ui.configbool('experimental.server',
- 'stream-narrow-clones')
+ narrowstream = repo.ui.configbool('experimental',
+ 'server.stream-narrow-clones')
if (includepats or excludepats) and not narrowstream:
raise error.Abort(_('server does not support narrow stream clones'))