diff -r fca9c63f160e -r 7f7457f84311 mercurial/commands.py --- a/mercurial/commands.py Thu Jun 10 14:55:10 2021 -0700 +++ b/mercurial/commands.py Thu Jun 10 15:45:22 2021 -0700 @@ -3104,8 +3104,8 @@ # list of new nodes created by ongoing graft statedata[b'newnodes'] = [] + cmdutil.resolve_commit_options(ui, opts) opts = pycompat.byteskwargs(opts) - cmdutil.resolvecommitoptions(ui, opts) editor = cmdutil.getcommiteditor( editform=b'graft', **pycompat.strkwargs(opts)