Mercurial > evolve
changeset 4692:a9cf0ba6e6c7 stable
pick: register pickstate as an unfinished state
This way pickstate file will indicate that unfinished pick command needs to be
dealt with (--continue or --abort) before modifying the repo. Otherwise it
would be e.g. possible to commit during an interrupted pick and that's not
expected.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 14 Jun 2019 18:17:03 +0800 |
parents | 214dab733124 |
children | b89495215c6e |
files | CHANGELOG hgext3rd/evolve/__init__.py |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG Fri Jun 14 18:14:57 2019 +0800 +++ b/CHANGELOG Fri Jun 14 18:17:03 2019 +0800 @@ -5,6 +5,7 @@ ------------------- * pick: no longer forget file in case of conflict (issue6037) + * pick: properly report and cleanup "unfinished state" * evolve: properly prune changeset with no change in case of conflict (issue5967) 9.0.0 -- 2019-06-06
--- a/hgext3rd/evolve/__init__.py Fri Jun 14 18:14:57 2019 +0800 +++ b/hgext3rd/evolve/__init__.py Fri Jun 14 18:17:03 2019 +0800 @@ -1358,6 +1358,9 @@ estate = ('evolvestate', False, False, _('evolve in progress'), _("use 'hg evolve --continue' or 'hg evolve --abort' to abort")) cmdutil.unfinishedstates.append(estate) + pstate = ('pickstate', False, False, _('pick in progress'), + _("use 'hg pick --continue' or 'hg pick --abort' to abort")) + cmdutil.unfinishedstates.append(pstate) afterresolved = ('evolvestate', _('hg evolve --continue')) pickresolved = ('pickstate', _('hg pick --continue'))