context: add missing manifest invalidation after write in overlayworkingctx
authorAugie Fackler <augie@google.com>
Fri, 29 Jan 2021 12:50:10 -0500
changeset 46484 bc3f3b59d0a4
parent 46483 16c18d5e5dc8
child 46485 768056549737
context: add missing manifest invalidation after write in overlayworkingctx This was breaking my merge-diff logic that will be in the next patch. Differential Revision: https://phab.mercurial-scm.org/D9908
mercurial/context.py
--- a/mercurial/context.py	Fri Jan 29 17:32:09 2021 +0530
+++ b/mercurial/context.py	Fri Jan 29 12:50:10 2021 -0500
@@ -2597,6 +2597,7 @@
             b'flags': flags,
             b'copied': copied,
         }
+        util.clearcachedproperty(self, b'_manifest')
 
     def filectx(self, path, filelog=None):
         return overlayworkingfilectx(