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
--- 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(