This is an archive of the discontinued Mercurial Phabricator instance.

revset: update repo._pinnedrevs with hidden commits from the tree
AbandonedPublic

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

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

This patch adds functionality to update the pinnedrevs set with the hidden
commits whose hashes are passed if the command allow accessing them and showing
warning depending on repo.filtername which is set by the type of command.

The logic to check whether a symbol is hash and logic related to showing
warning to user is imported from directacess extension from fb-hgext.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Oct 11 2017, 3:11 PM
pulkit abandoned this revision.Oct 17 2017, 8:21 AM

Resend the series as D1140 - D1144.