Mercurial > public > mercurial-scm > hg-stable
diff mercurial/state.py @ 49614:8ced4ca30ea1 stable
bisect: correct message about aborting an in-progress bisect (issue6527)
By using a custom cmdhint message here we're avoiding automatic hint generation
in _statecheck.hint(), which would suggest 'hg bisect --continue' and 'hg
bisect --abort' (neither of which is a valid option).
This patch is only fixing the message about in-progress bisect, it doesn't
modify the unfinished state checking logic.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 02 Jan 2023 15:27:55 +0400 |
parents | 642e31cb55f0 |
children | 9d3721552b6c |
line wrap: on
line diff
--- a/mercurial/state.py Mon Dec 12 17:49:48 2022 +0400 +++ b/mercurial/state.py Mon Jan 02 15:27:55 2023 +0400 @@ -366,6 +366,7 @@ fname=b'bisect.state', allowcommit=True, reportonly=True, + cmdhint=_(b"use 'hg bisect --reset'"), statushint=_( b'To mark the changeset good: hg bisect --good\n' b'To mark the changeset bad: hg bisect --bad\n'