mercurial/repoview.py
changeset 38190 02f992ac26e9
parent 38189 5b592ac502ef
child 38191 4e790f0966fc
--- a/mercurial/repoview.py	Mon May 21 17:33:50 2018 +0200
+++ b/mercurial/repoview.py	Tue May 22 18:10:00 2018 +0200
@@ -77,8 +77,7 @@
         if visibilityexceptions:
             hidden -= visibilityexceptions
         pfunc = repo.changelog.parentrevs
-        mutablephases = (phases.draft, phases.secret)
-        mutable = repo._phasecache.getrevset(repo, mutablephases)
+        mutable = repo._phasecache.getrevset(repo, phases.mutablephases)
 
         visible = mutable - hidden
         _revealancestors(pfunc, hidden, visible)