# HG changeset patch # User Laurent Charignon # Date 1431535594 25200 # Node ID d46a967f257e146ff63e4c333bda8df6869a73a6 # Parent 70681abf79d16c41177c6415bf0c36f419a590fd evolve: improve error message We add a new line and change the wording from 'revsets' to 'revisions'. diff -r 70681abf79d1 -r d46a967f257e hgext/evolve.py --- a/hgext/evolve.py Wed May 13 09:43:36 2015 -0700 +++ b/hgext/evolve.py Wed May 13 09:46:34 2015 -0700 @@ -1303,7 +1303,7 @@ troubled = repo.revs('troubled()') _revs = revs & troubled if not _revs: - ui.write_err("No troubled changes in the specified revset") + ui.write_err("No troubled changes in the specified revisions\n") else: # For the progress bar to show count = len(_revs) diff -r 70681abf79d1 -r d46a967f257e tests/test-evolve.t --- a/tests/test-evolve.t Wed May 13 09:43:36 2015 -0700 +++ b/tests/test-evolve.t Wed May 13 09:46:34 2015 -0700 @@ -1004,7 +1004,7 @@ Evolving an empty revset should do nothing $ hg evolve --rev "16 and 15" - No troubled changes in the specified revset (no-eol) + No troubled changes in the specified revisions $ hg evolve --rev "14::" move:[15] add gg