changeset 17272:632fa86aac55 stable

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 28 Jul 2012 23:51:57 +0900
parents a09cc6aeed4a
children 4ed6b3a24661
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Fri Jul 20 19:08:26 2012 -0400
+++ b/mercurial/revset.py	Sat Jul 28 23:51:57 2012 +0900
@@ -1424,7 +1424,7 @@
 
 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()'))