diff hgext/evolve.py @ 1395:362e2c8c5677 stable

evolve: add a hint about how to abort an evolve with conflict The whole evolve --continue is hacky, but the way to abort it have been arcane knowledge, carried from sith lord to its apprentice for centuries. We add a hint to help the use discover it. One day a clean solution will come.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 19 Jun 2015 10:44:25 -0700
parents 0ec6cc5b4b7a
children ba95cec18fe9 20ff4ef75b87
line wrap: on
line diff
--- a/hgext/evolve.py	Fri Jun 19 00:17:34 2015 -0700
+++ b/hgext/evolve.py	Fri Jun 19 10:44:25 2015 -0700
@@ -1392,7 +1392,8 @@
             repo.opener.write('graftstate', orig.hex() + '\n')
             repo.ui.write_err(_('evolve failed!\n'))
             repo.ui.write_err(
-                _('fix conflict and run "hg evolve --continue"\n'))
+                _('fix conflict and run "hg evolve --continue"'
+                  ' or use "hg update -C" to abort\n'))
             raise
 
 def _solvebumped(ui, repo, bumped, dryrun=False, confirm=False,