--- a/hgext/mq.py Tue Feb 14 20:09:39 2023 +0100
+++ b/hgext/mq.py Mon Feb 13 23:49:52 2023 +0100
@@ -2126,6 +2126,7 @@
except: # re-raises
ctx = repo[cparents[0]]
repo.dirstate.rebuild(ctx.node(), ctx.manifest())
+ repo.dirstate.write(repo.currenttransaction())
self.savedirty()
self.ui.warn(
_(