hgext/mq.py
changeset 49996 89796af68b27
parent 49961 7a8bfc05b691
child 50010 f93bccadcf42
--- 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(
                     _(