diff -r f69253935bf8 -r 7f41e824a02b mercurial/commands.py --- a/mercurial/commands.py Thu Jul 09 17:05:41 2020 +0530 +++ b/mercurial/commands.py Thu Jul 09 18:20:54 2020 +0530 @@ -6129,7 +6129,8 @@ raise ms.commit() - ms.recordactions() + branchmerge = repo.dirstate.p2() != nullid + mergestatemod.recordupdates(repo, ms.actions(), branchmerge, None) if not didwork and pats: hint = None