mercurial/revset.py
changeset 44711 637eb7f7559b
parent 44710 eca82eb9d777
child 44856 b7808443ed6a
--- a/mercurial/revset.py	Fri Apr 10 22:23:44 2020 +0800
+++ b/mercurial/revset.py	Wed Apr 15 19:24:21 2020 +0900
@@ -2531,9 +2531,7 @@
     _unstable.update(obsmod.getrevs(repo, b'orphan'))
     _unstable.update(obsmod.getrevs(repo, b'phasedivergent'))
     _unstable.update(obsmod.getrevs(repo, b'contentdivergent'))
-    _unstable = baseset(_unstable)
-    _unstable.sort()  # set is non-ordered, enforce order
-    return subset & _unstable
+    return subset & baseset(_unstable)
 
 
 @predicate(b'user(string)', safe=True, weight=10)