mercurial/commands.py
changeset 47432 7f7457f84311
parent 47431 fca9c63f160e
child 47433 fc8e29ffc380
--- 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)