Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 39004:5b04b6204931
status: advertise --abort instead of 'update -C .' to abort graft
Recent release got us a --abort flag for 'hg graft' command which is nice UI and
we should advertise that to stop the graft instead of 'update -C .' which is
kind of ugly.
Differential Revision: https://phab.mercurial-scm.org/D4169
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Thu, 09 Aug 2018 13:13:09 +0300 |
parents | cf68e2649e0a |
children | 3f0ef8d19413 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Thu Aug 09 12:32:11 2018 +0300 +++ b/mercurial/cmdutil.py Thu Aug 09 13:13:09 2018 +0300 @@ -613,7 +613,7 @@ def _graftmsg(): # tweakdefaults requires `update` to have a rev hence the `.` - return _helpmessage('hg graft --continue', _updatecleanmsg()) + return _helpmessage('hg graft --continue', 'hg graft --abort') def _mergemsg(): # tweakdefaults requires `update` to have a rev hence the `.`