equal
deleted
inserted
replaced
468 @predicate('phasedivergent()', safe=True) |
468 @predicate('phasedivergent()', safe=True) |
469 def phasedivergent(repo, subset, x): |
469 def phasedivergent(repo, subset, x): |
470 """Mutable changesets marked as successors of public changesets. |
470 """Mutable changesets marked as successors of public changesets. |
471 |
471 |
472 Only non-public and non-obsolete changesets can be `phasedivergent`. |
472 Only non-public and non-obsolete changesets can be `phasedivergent`. |
|
473 (EXPERIMENTAL) |
473 """ |
474 """ |
474 # i18n: "phasedivergent" is a keyword |
475 # i18n: "phasedivergent" is a keyword |
475 getargs(x, 0, 0, _("phasedivergent takes no arguments")) |
476 getargs(x, 0, 0, _("phasedivergent takes no arguments")) |
476 phasedivergent = obsmod.getrevs(repo, 'phasedivergent') |
477 phasedivergent = obsmod.getrevs(repo, 'phasedivergent') |
477 return subset & phasedivergent |
478 return subset & phasedivergent |
726 return contentdivergent(repo, subset, x) |
727 return contentdivergent(repo, subset, x) |
727 |
728 |
728 @predicate('contentdivergent()', safe=True) |
729 @predicate('contentdivergent()', safe=True) |
729 def contentdivergent(repo, subset, x): |
730 def contentdivergent(repo, subset, x): |
730 """ |
731 """ |
731 Final successors of changesets with an alternative set of final successors. |
732 Final successors of changesets with an alternative set of final |
|
733 successors. (EXPERIMENTAL) |
732 """ |
734 """ |
733 # i18n: "contentdivergent" is a keyword |
735 # i18n: "contentdivergent" is a keyword |
734 getargs(x, 0, 0, _("contentdivergent takes no arguments")) |
736 getargs(x, 0, 0, _("contentdivergent takes no arguments")) |
735 contentdivergent = obsmod.getrevs(repo, 'contentdivergent') |
737 contentdivergent = obsmod.getrevs(repo, 'contentdivergent') |
736 return subset & contentdivergent |
738 return subset & contentdivergent |
1941 |
1943 |
1942 return orphan(repo, subset, x) |
1944 return orphan(repo, subset, x) |
1943 |
1945 |
1944 @predicate('orphan()', safe=True) |
1946 @predicate('orphan()', safe=True) |
1945 def orphan(repo, subset, x): |
1947 def orphan(repo, subset, x): |
1946 """Non-obsolete changesets with obsolete ancestors. |
1948 """Non-obsolete changesets with obsolete ancestors. (EXPERIMENTAL) |
1947 """ |
1949 """ |
1948 # i18n: "orphan" is a keyword |
1950 # i18n: "orphan" is a keyword |
1949 getargs(x, 0, 0, _("orphan takes no arguments")) |
1951 getargs(x, 0, 0, _("orphan takes no arguments")) |
1950 orphan = obsmod.getrevs(repo, 'orphan') |
1952 orphan = obsmod.getrevs(repo, 'orphan') |
1951 return subset & orphan |
1953 return subset & orphan |