This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: don't include hidden revisions in /filelog/ view
ClosedPublic

Authored by martinvonz on Apr 5 2018, 3:10 AM.

Details

Summary

This is a very crude way of doing it, but it seems to be working well
enough. The number of entries on the page won't be the usual maximum
number per page, but this is good enough for me.

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

martinvonz created this revision.Apr 5 2018, 3:10 AM
yuja accepted this revision.Apr 5 2018, 9:28 AM
yuja added a subscriber: yuja.

It's a bit scary to rely on linkrev(), but the way how hgweb handles fctxs
effectively disables linkrev adjustment. So this should be good enough for now.

Queued, thanks.

This revision is now accepted and ready to land.Apr 5 2018, 9:28 AM
This revision was automatically updated to reflect the committed changes.