diff -r cdb0d857afe2 -r 111f5a0cbcaa mercurial/transaction.py --- a/mercurial/transaction.py Mon Jan 31 08:23:54 2022 +0100 +++ b/mercurial/transaction.py Mon Jan 31 14:26:35 2022 +0100 @@ -28,7 +28,10 @@ # These are the file generators that should only be executed after the # finalizers are done, since they rely on the output of the finalizers (like # the changelog having been written). -postfinalizegenerators = {b'bookmarks', b'dirstate'} +postfinalizegenerators = { + b'bookmarks', + b'dirstate-1-main', +} GEN_GROUP_ALL = b'all' GEN_GROUP_PRE_FINALIZE = b'prefinalize'