revset: fix the definition of "unstable changesets" for "unstable" predicate stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sat, 28 Jul 2012 23:51:57 +0900
branchstable
changeset 17272 632fa86aac55
parent 17271 a09cc6aeed4a
child 17273 4ed6b3a24661
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.
mercurial/revset.py
--- 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()'))