diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -1712,6 +1712,7 @@ def update(repo, node, branchmerge, forc repo.vfs.write('updatestate', p2.hex()) stats = applyupdates(repo, actions, wc, p2, overwrite, labels=labels) + wc.flushall() if not partial: with repo.dirstate.parentchange():