Patchwork D9908: context: add missing manifest invalidation after write in overlayworkingctx

login
register
mail settings
Submitter phabricator
Date Jan. 29, 2021, 5:57 p.m.
Message ID <differential-rev-PHID-DREV-u3ruosxitbhqk2vzywh6-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48219/
State Superseded
Headers show

Comments

phabricator - Jan. 29, 2021, 5:57 p.m.
durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This was breaking my merge-diff logic that will be in the next patch.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -2597,6 +2597,7 @@ 
             b'flags': flags,
             b'copied': copied,
         }
+        util.clearcachedproperty(self, b'_manifest')
 
     def filectx(self, path, filelog=None):
         return overlayworkingfilectx(