# HG changeset patch # User Anton Shestakov # Date 1645545312 -10800 # Node ID 11a3ec836a6582aefadc1a3f292fb8517147411e # Parent 94bf0768040a389bbe80758622741ece3059c25d fixup: replace the underscore in state file name with a dash Lots of files inside .hg/ use `-` instead of `_`. diff -r 94bf0768040a -r 11a3ec836a65 hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Tue Feb 22 09:24:11 2022 +0300 +++ b/hgext3rd/evolve/__init__.py Tue Feb 22 18:55:12 2022 +0300 @@ -1167,7 +1167,7 @@ abortfunc=cmdrewrite.hgabortpick) _fixup_msg = _(b'To continue: hg fixup --continue\n' b'To abort: hg fixup --abort\n') - statemod.addunfinished(b'fixup', fname=b'fixup_state', + statemod.addunfinished(b'fixup', fname=b'fixup-state', continueflag=True, statushint=_fixup_msg) else: # hg <= 5.0 (5f2f6912c9e6) diff -r 94bf0768040a -r 11a3ec836a65 hgext3rd/evolve/cmdrewrite.py --- a/hgext3rd/evolve/cmdrewrite.py Tue Feb 22 09:24:11 2022 +0300 +++ b/hgext3rd/evolve/cmdrewrite.py Tue Feb 22 18:55:12 2022 +0300 @@ -1489,7 +1489,7 @@ if abortopt: raise error.Abort(_(b'cannot specify a revision with --abort')) # state file for --continue/--abort cases - fixup_state = state.cmdstate(repo, b'fixup_state') + fixup_state = state.cmdstate(repo, b'fixup-state') if contopt: if not fixup_state.exists(): raise error.Abort(_(b'no interrupted fixup to continue'))