This is an archive of the discontinued Mercurial Phabricator instance.

dispatch: filter the repository depending on func.cmdtype
AbandonedPublic

Authored by pulkit on Oct 11 2017, 3:10 PM.

Details

Reviewers
durin42
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.Oct 11 2017, 3:10 PM
durin42 requested changes to this revision.Oct 16 2017, 9:13 PM
durin42 added a subscriber: durin42.

Needs tests.

This revision now requires changes to proceed.Oct 16 2017, 9:13 PM
pulkit abandoned this revision.Oct 17 2017, 8:23 AM

Resend the series as D1140 - D1144.