traceback from hg serve
James Gregory
james.jrg at gmail.com
Fri Apr 25 09:54:43 UTC 2014
Actually it turns out that "hg serve" was using a different version of
hg to the one in PATH - PATH had hg 2.9.1 in /usr/local, whilst hg
serve was using 2.0.2 from /usr/lib. Changing hg serve to use 2.9.1
seems to have fixed the issue.
On 24 April 2014 18:37, Matt Mackall <mpm at selenic.com> wrote:
> On Thu, 2014-04-24 at 16:47 +0100, James Gregory wrote:
>> Mercurial: Mercurial Distributed SCM (version 2.9.1)
>> OS: Ubuntu 12.04.4 LTS
>
> Try this patch:
>
> diff -r d36440d84328 mercurial/hgweb/hgweb_mod.py
> --- a/mercurial/hgweb/hgweb_mod.py Wed Apr 23 23:29:55 2014 +0200
> +++ b/mercurial/hgweb/hgweb_mod.py Thu Apr 24 12:37:07 2014 -0500
> @@ -64,6 +64,7 @@
> r = repo
>
> r = self._getview(r)
> + r.baseui = r.baseui.copy()
> r.ui.setconfig('ui', 'report_untrusted', 'off', 'hgweb')
> r.baseui.setconfig('ui', 'report_untrusted', 'off', 'hgweb')
> r.ui.setconfig('ui', 'nontty', 'true', 'hgweb')
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
--
James
More information about the Mercurial
mailing list