# HG changeset patch # User Pierre-Yves David # Date 1340706244 -7200 # Node ID 2d0dc5c18489522b586d8c9172945fa544531a17 # Parent de21685d22d1a0fa2237fab15f183e9ee298a5fa [obsolete] fix revset error message diff -r de21685d22d1 -r 2d0dc5c18489 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):