Commits

Pierre-Yves David committed 2d0dc5c

[obsolete] fix revset error message

  • Participants
  • Parent commits de21685
  • Branches default

Comments (0)

Files changed (1)

File hgext/obsolete.py

 
 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):