This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: move rawentries() to a standalone function
ClosedPublic

Authored by indygreg on Mar 12 2018, 5:16 PM.

Details

Summary

It was only accessing a few variables from the outer scope. Let's
make it standalone so there is better clarity about what the inputs
are.

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 12 2018, 5:16 PM
durin42 accepted this revision.Mar 12 2018, 5:24 PM
This revision is now accepted and ready to land.Mar 12 2018, 5:24 PM
This revision was automatically updated to reflect the committed changes.