Patchwork D673: merge: flush any deferred writes just before recordupdates()

login
register
mail settings
Submitter phabricator
Date Sept. 12, 2017, 10:30 p.m.
Message ID <8aef98eff9c8537aa1f26b85353ab136@localhost.localdomain>
Download mbox | patch
Permalink /patch/23818/
State Not Applicable
Headers show

Comments

phabricator - Sept. 12, 2017, 10:30 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG57dc78d757ff: merge: flush any deferred writes just before recordupdates() (authored by phillco, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D673?vs=1728&id=1771

REVISION DETAIL
  https://phab.mercurial-scm.org/D673

AFFECTED FILES
  mercurial/merge.py

CHANGE DETAILS




To: phillco, #hg-reviewers
Cc: mercurial-devel

Patch

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