Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/webcommands.py @ 40464:4265bfb53dd3 stable
hgweb: register web.comparisoncontext to the config table
This was caught in some server side logging added to debug py3 issues.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 09 Dec 2018 23:48:50 -0500 |
parents | fa88170c10bb |
children | e06719b7544d |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Tue Dec 04 17:04:19 2018 -0500 +++ b/mercurial/hgweb/webcommands.py Sun Dec 09 23:48:50 2018 -0500 @@ -858,7 +858,7 @@ if 'context' in web.req.qsparams: context = parsecontext(web.req.qsparams['context']) else: - context = parsecontext(web.config('web', 'comparisoncontext', '5')) + context = parsecontext(web.config('web', 'comparisoncontext')) def filelines(f): if f.isbinary():