This is an archive of the discontinued Mercurial Phabricator instance.

repoview: add a new filtername for accessing hidden commits
ClosedPublic

Authored by pulkit on Dec 19 2017, 7:10 AM.

Details

Summary

This patch adds a new filter 'visible-hidden' for repository and will be used to
return a repo object with user passed revisions unhidden. Unlike the
directaccess extension in fb-hgext and previous series adding the functionality,
this time we introduce only one new filter as whether to warn user or not is
handled by scmutil.unhidehashlikerevs().

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

pulkit created this revision.Dec 19 2017, 7:10 AM
yuja added a subscriber: yuja.Dec 19 2017, 9:19 AM

This should come before D1733?

pulkit updated this revision to Diff 4584.Dec 22 2017, 12:57 PM
pulkit updated this revision to Diff 4609.Dec 25 2017, 10:08 AM
yuja accepted this revision.Dec 26 2017, 8:43 AM
This revision is now accepted and ready to land.Dec 26 2017, 8:43 AM
This revision was automatically updated to reflect the committed changes.