[PATCH 1 of 5 hgweb-thread-isolation] hgweb: move templater instantiation to requestcontext

Gregory Szorc gregory.szorc at gmail.com
Thu Sep 3 19:40:10 CDT 2015


On Thu, Sep 3, 2015 at 4:16 PM, Gregory Szorc <gregory.szorc at gmail.com>
wrote:

> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1440286731 25200
> #      Sat Aug 22 16:38:51 2015 -0700
> # Node ID b0e667395fd4c0dbd24d597fd81ce5c7f13b8b3f
> # Parent  3a75fe3376608704d4056dc3b93d0a200efe97b1
> hgweb: move templater instantiation to requestcontext
>
>
A number of hgweb tests are currently failing on @ because templater() has
a reference to self.templatepath, which was removed in 84511b1d9724. This
patch unbusts things by moving  templater() to requestcontext, which does
have a templatepath attribute. I guess I didn't test every commit in the
entire series individually. And it just so happens the patchbomb split
happened at just the wrong place too. Sorry about that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150903/cf62e726/attachment.html>


More information about the Mercurial-devel mailing list