diff -r 38de3300414f -r d6569f1e9b37 mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py Sat Mar 02 05:24:35 2019 +0530 +++ b/mercurial/wireprotov2server.py Tue Feb 12 19:08:17 2019 +0100 @@ -342,7 +342,8 @@ action) def getdispatchrepo(repo, proto, command): - return repo.filtered('served') + viewconfig = repo.ui.config('server', 'view') + return repo.filtered(viewconfig) def dispatch(repo, proto, command, redirect): """Run a wire protocol command.