This is an archive of the discontinued Mercurial Phabricator instance.

dispatch: filter the repository depending on func.cmdtype
AbandonedPublic

Authored by pulkit on Nov 2 2017, 2:09 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

This patch adds support for filtering the repository on the basis of
func.cmdtype. After this patch, repo.filtername will be used to decide what
level of access the running command can has on hidden commits.

All this logic is behind a config flag experimental.directacess which defaults
to False.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Nov 2 2017, 2:09 PM
pulkit planned changes to this revision.Nov 22 2017, 8:24 PM
pulkit updated this revision to Diff 4096.Dec 4 2017, 9:17 AM
pulkit abandoned this revision.Dec 19 2017, 7:21 AM

Moved the logic to filter repository at command level. This is not required anymore.
This series is superseded by D1730 - D1735.