changeset 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 16c18d5e5dc8
children 768056549737
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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(