Mercurial > hg
changeset 50080:2a46555c5522
mq: write the dirstate before stripping
I am not certain why it is dirty (probably the `repo.setparent` call a right
before. However I know we need it flushed before the repository starts to be
stripped.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 16 Feb 2023 04:41:38 +0100 |
parents | acd2a0267660 |
children | 9a0778bbae6a |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Thu Feb 16 03:08:00 2023 +0100 +++ b/hgext/mq.py Thu Feb 16 04:41:38 2023 +0100 @@ -2048,6 +2048,7 @@ # assumes strip can roll itself back if interrupted repo.setparents(*cparents) + repo.dirstate.write(repo.currenttransaction()) self.applied.pop() self.applieddirty = True strip(self.ui, repo, [top], update=False, backup=False)