diff mercurial/context.py @ 46484:bc3f3b59d0a4

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
author Augie Fackler <augie@google.com>
date Fri, 29 Jan 2021 12:50:10 -0500
parents 89a2afe31e82
children e2f7b2695ba1
line wrap: on
line diff
--- 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(