Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revset.py @ 44698:1ac74f653fa5
revset: mark `obsolete()` experimental
I assume not marking it was unintentional, since the obsolete concept it still
experimental.
Differential Revision: https://phab.mercurial-scm.org/D8405
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 13 Apr 2020 12:13:22 -0400 |
parents | 48b99af7b4b3 |
children | bcc1846e0f2b |
comparison
equal
deleted
inserted
replaced
44697:0792ad55e533 | 44698:1ac74f653fa5 |
---|---|
1700 return baseset() | 1700 return baseset() |
1701 | 1701 |
1702 | 1702 |
1703 @predicate(b'obsolete()', safe=True) | 1703 @predicate(b'obsolete()', safe=True) |
1704 def obsolete(repo, subset, x): | 1704 def obsolete(repo, subset, x): |
1705 """Mutable changeset with a newer version.""" | 1705 """Mutable changeset with a newer version. (EXPERIMENTAL)""" |
1706 # i18n: "obsolete" is a keyword | 1706 # i18n: "obsolete" is a keyword |
1707 getargs(x, 0, 0, _(b"obsolete takes no arguments")) | 1707 getargs(x, 0, 0, _(b"obsolete takes no arguments")) |
1708 obsoletes = obsmod.getrevs(repo, b'obsolete') | 1708 obsoletes = obsmod.getrevs(repo, b'obsolete') |
1709 return subset & obsoletes | 1709 return subset & obsoletes |
1710 | 1710 |