Mercurial > evolve
comparison 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 |
comparison
equal
deleted
inserted
replaced
1394:e12082872afc | 1395:362e2c8c5677 |
---|---|
1390 relocate(repo, orig, target, keepbranch) | 1390 relocate(repo, orig, target, keepbranch) |
1391 except MergeFailure: | 1391 except MergeFailure: |
1392 repo.opener.write('graftstate', orig.hex() + '\n') | 1392 repo.opener.write('graftstate', orig.hex() + '\n') |
1393 repo.ui.write_err(_('evolve failed!\n')) | 1393 repo.ui.write_err(_('evolve failed!\n')) |
1394 repo.ui.write_err( | 1394 repo.ui.write_err( |
1395 _('fix conflict and run "hg evolve --continue"\n')) | 1395 _('fix conflict and run "hg evolve --continue"' |
1396 ' or use "hg update -C" to abort\n')) | |
1396 raise | 1397 raise |
1397 | 1398 |
1398 def _solvebumped(ui, repo, bumped, dryrun=False, confirm=False, | 1399 def _solvebumped(ui, repo, bumped, dryrun=False, confirm=False, |
1399 progresscb=None): | 1400 progresscb=None): |
1400 """Stabilize a bumped changeset""" | 1401 """Stabilize a bumped changeset""" |