mercurial/revset.py
changeset 50387 92f71d40fc1d
parent 49972 1bd33932713d
child 50396 386737600689
--- a/mercurial/revset.py	Thu Mar 02 04:11:29 2023 +0100
+++ b/mercurial/revset.py	Tue Mar 07 04:50:29 2023 +0100
@@ -2061,7 +2061,7 @@
 @predicate(b'_notpublic', safe=True)
 def _notpublic(repo, subset, x):
     getargs(x, 0, 0, b"_notpublic takes no arguments")
-    return _phase(repo, subset, phases.draft, phases.secret)
+    return _phase(repo, subset, *phases.not_public_phases)
 
 
 # for internal use