mercurial/revset.py
changeset 33798 d4b7496f7d0b
parent 33797 ed99d3afef88
child 33799 f3f06c260e9e
--- a/mercurial/revset.py	Thu Aug 03 14:08:39 2017 +0200
+++ b/mercurial/revset.py	Fri Aug 04 19:27:39 2017 +0200
@@ -1947,8 +1947,8 @@
     """
     # i18n: "orphan" is a keyword
     getargs(x, 0, 0, _("orphan takes no arguments"))
-    unstables = obsmod.getrevs(repo, 'unstable')
-    return subset & unstables
+    orphan = obsmod.getrevs(repo, 'orphan')
+    return subset & orphan
 
 
 @predicate('user(string)', safe=True)