evolve: improve error message
authorLaurent Charignon <lcharignon@fb.com>
Wed, 13 May 2015 09:46:34 -0700
changeset 1350 d46a967f257e
parent 1349 70681abf79d1
child 1351 69e5de3e6129
evolve: improve error message We add a new line and change the wording from 'revsets' to 'revisions'.
hgext/evolve.py
tests/test-evolve.t
--- 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