# HG changeset patch # User FUJIWARA Katsunori # Date 2012-07-28 14:51:57 # Node ID 632fa86aac55f43bf447191a82733702a86c5e73 # Parent a09cc6aeed4a6d54a3846b6653165fd3b328d1ef revset: fix the definition of "unstable changesets" for "unstable" predicate unstable-ness of changesets should be determined by obsolete-ness of not descendants but ancestors. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -1424,7 +1424,7 @@ def tagged(repo, subset, x): def unstable(repo, subset, x): """``unstable()`` - Unstable changesets are non-obsolete with obsolete descendants.""" + Unstable changesets are non-obsolete with obsolete ancestors.""" # i18n: "unstable" is a keyword getargs(x, 0, 0, _("unstable takes no arguments")) unstableset = set(repo.revs('(obsolete()::) - obsolete()'))