mercurial/revset.py
changeset 44700 7834da4b00fa
parent 44699 bcc1846e0f2b
child 44709 8859de3e83dc
equal deleted inserted replaced
44699:bcc1846e0f2b 44700:7834da4b00fa
  1052     return subset & baseset(data)
  1052     return subset & baseset(data)
  1053 
  1053 
  1054 
  1054 
  1055 @predicate(b'extinct()', safe=True)
  1055 @predicate(b'extinct()', safe=True)
  1056 def extinct(repo, subset, x):
  1056 def extinct(repo, subset, x):
  1057     """Obsolete changesets with obsolete descendants only.
  1057     """Obsolete changesets with obsolete descendants only. (EXPERIMENTAL)
  1058     """
  1058     """
  1059     # i18n: "extinct" is a keyword
  1059     # i18n: "extinct" is a keyword
  1060     getargs(x, 0, 0, _(b"extinct takes no arguments"))
  1060     getargs(x, 0, 0, _(b"extinct takes no arguments"))
  1061     extincts = obsmod.getrevs(repo, b'extinct')
  1061     extincts = obsmod.getrevs(repo, b'extinct')
  1062     return subset & extincts
  1062     return subset & extincts