comparison mercurial/httpconnection.py @ 36885:c68e79dcf21c

hgweb: don't redundantly pass templater with requestcontext (API) The requestcontenxt has a ``tmpl`` attribute to access the templater. We don't need to pass the templater explicitly when passing a requestcontext instance. .. api:: Various helper functions in hgweb.webutil no longer accept a templater instance. Access the templater through the ``web`` argument instead. Differential Revision: https://phab.mercurial-scm.org/D2801
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 10 Mar 2018 19:46:54 -0800
parents 6b1eb4c610b4
children 5f9d436cd3b7
comparison
equal deleted inserted replaced
36884:ece242db5000 36885:c68e79dcf21c