D1286: repoview: consider visibility exceptions in computehidden()
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Nov 22 20:24:06 EST 2017
pulkit updated this revision to Diff 3785.
pulkit edited the summary of this revision.
pulkit retitled this revision from "repoview: also consider visibility exceptions in pinnedrevs" to "repoview: consider visibility exceptions in computehidden()".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1286?vs=3202&id=3785
REVISION DETAIL
https://phab.mercurial-scm.org/D1286
AFFECTED FILES
mercurial/repoview.py
CHANGE DETAILS
diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -72,6 +72,7 @@
hidden = hideablerevs(repo)
if hidden:
hidden = set(hidden - pinnedrevs(repo))
+ hidden = hidden - repo.filtered('visible').getvisibilityexceptions()
pfunc = repo.changelog.parentrevs
mutablephases = (phases.draft, phases.secret)
mutable = repo._phasecache.getrevset(repo, mutablephases)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list