changeset 1350:d46a967f257e

evolve: improve error message We add a new line and change the wording from 'revsets' to 'revisions'.
author Laurent Charignon <lcharignon@fb.com>
date Wed, 13 May 2015 09:46:34 -0700
parents 70681abf79d1
children 69e5de3e6129
files hgext/evolve.py tests/test-evolve.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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