# HG changeset patch # User Anton Shestakov # Date 1560507423 -28800 # Node ID a9cf0ba6e6c786615e6c0edb838e865c433c8d62 # Parent 214dab7331247237f94d8920d7fd0a3c4998d914 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. diff -r 214dab733124 -r a9cf0ba6e6c7 CHANGELOG --- 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 diff -r 214dab733124 -r a9cf0ba6e6c7 hgext3rd/evolve/__init__.py --- 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'))