[obsolete] fix revset error message
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 26 Jun 2012 12:24:04 +0200
changeset 310 2d0dc5c18489
parent 309 de21685d22d1
child 311 5eecfda0a5c7
[obsolete] fix revset error message
hgext/obsolete.py
--- a/hgext/obsolete.py	Tue Jun 26 11:29:51 2012 +0200
+++ b/hgext/obsolete.py	Tue Jun 26 12:24:04 2012 +0200
@@ -170,17 +170,17 @@
 
 def revsetsuspended(repo, subset, x):
     """obsolete changesets with non obsolete descendants"""
-    args = revset.getargs(x, 0, 0, 'unstable takes no arguments')
+    args = revset.getargs(x, 0, 0, 'suspended takes no arguments')
     return [r for r in subset if r in repo._suspendedset]
 
 def revsetextinct(repo, subset, x):
     """obsolete changesets without obsolete descendants"""
-    args = revset.getargs(x, 0, 0, 'unstable takes no arguments')
+    args = revset.getargs(x, 0, 0, 'extinct takes no arguments')
     return [r for r in subset if r in repo._extinctset]
 
 def revsetlatecomer(repo, subset, x):
     """latecomer, Try to succeed to public change"""
-    args = revset.getargs(x, 0, 0, 'unstable takes no arguments')
+    args = revset.getargs(x, 0, 0, 'latecomer takes no arguments')
     return [r for r in subset if r in repo._latecomerset]
 
 def _precursors(repo, s):