This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: use templater on requestcontext instance
ClosedPublic

Authored by indygreg on Mar 11 2018, 12:24 AM.

Details

Summary

After this commit, all @webcommand function no longer use their
"tmpl" argument. Instead, they use the templater attached to the
requestcontext.

This is the same exact object. So there should be no difference in
behavior.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Mar 11 2018, 12:24 AM
durin42 accepted this revision.Mar 12 2018, 5:17 PM
This revision is now accepted and ready to land.Mar 12 2018, 5:17 PM
This revision was automatically updated to reflect the committed changes.