Submitter | phabricator |
---|---|
Date | Nov. 2, 2017, 6:09 p.m. |
Message ID | <differential-rev-PHID-DREV-35bb6clg4i2c4ps5jtku-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/25356/ |
State | Superseded |
Headers | show |
Comments
pulkit abandoned this revision. pulkit added a comment. This series is superseded by https://phab.mercurial-scm.org/D1730 - https://phab.mercurial-scm.org/D1735. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1287 To: pulkit, #hg-reviewers Cc: mercurial-devel
Patch
diff --git a/mercurial/repoview.py b/mercurial/repoview.py --- a/mercurial/repoview.py +++ b/mercurial/repoview.py @@ -142,6 +142,8 @@ # Otherwise your filter will have to recompute all its branches cache # from scratch (very slow). filtertable = {'visible': computehidden, + 'visible-warnhidden': computehidden, + 'visible-hidden': computehidden, 'served': computeunserved, 'immutable': computemutable, 'base': computeimpactable} diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -86,7 +86,9 @@ subsettable = {None: 'visible', 'visible': 'served', 'served': 'immutable', - 'immutable': 'base'} + 'immutable': 'base', + 'visible-warnhidden': 'visible', + 'visible-hidden': 'visible'} def updatecache(repo): cl = repo.changelog