comparison mercurial/help.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 1fa35ca345a5
children 521f6c7e1756
comparison
equal deleted inserted replaced
36884:ece242db5000 36885:c68e79dcf21c