Mercurial > hg
diff mercurial/server.py @ 40824:82210d88d814
commandserver: install logger to record server events through canonical API
The global commandserver.log() will be replaced with this.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 10 Nov 2018 19:00:17 +0900 |
parents | 368ecbf734af |
children | 2372284d9457 |
line wrap: on
line diff
--- a/mercurial/server.py Sat Nov 10 18:19:34 2018 +0900 +++ b/mercurial/server.py Sat Nov 10 19:00:17 2018 +0900 @@ -158,7 +158,7 @@ servicefn = _cmdservicemap[mode] except KeyError: raise error.Abort(_('unknown mode %s') % mode) - commandserver.setuplogging(ui) + commandserver.setuplogging(ui, repo) return servicefn(ui, repo, opts) def _createhgwebservice(ui, repo, opts):