Mercurial > evolve
changeset 310:2d0dc5c18489
[obsolete] fix revset error message
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 26 Jun 2012 12:24:04 +0200 |
parents | de21685d22d1 |
children | 5eecfda0a5c7 |
files | hgext/obsolete.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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):