comparison mercurial/revset.py @ 33777:d4b7496f7d0b

obsolete: rename unstable volatile set into orphan volatile set The renaming is done according to https://www.mercurial-scm.org/wiki/CEDVocabulary. Differential Revision: https://phab.mercurial-scm.org/D253
author Boris Feld <boris.feld@octobus.net>
date Fri, 04 Aug 2017 19:27:39 +0200
parents ed99d3afef88
children f3f06c260e9e
comparison
equal deleted inserted replaced
33776:ed99d3afef88 33777:d4b7496f7d0b
1945 def orphan(repo, subset, x): 1945 def orphan(repo, subset, x):
1946 """Non-obsolete changesets with obsolete ancestors. 1946 """Non-obsolete changesets with obsolete ancestors.
1947 """ 1947 """
1948 # i18n: "orphan" is a keyword 1948 # i18n: "orphan" is a keyword
1949 getargs(x, 0, 0, _("orphan takes no arguments")) 1949 getargs(x, 0, 0, _("orphan takes no arguments"))
1950 unstables = obsmod.getrevs(repo, 'unstable') 1950 orphan = obsmod.getrevs(repo, 'orphan')
1951 return subset & unstables 1951 return subset & orphan
1952 1952
1953 1953
1954 @predicate('user(string)', safe=True) 1954 @predicate('user(string)', safe=True)
1955 def user(repo, subset, x): 1955 def user(repo, subset, x):
1956 """User name contains string. The match is case-insensitive. 1956 """User name contains string. The match is case-insensitive.