changeset 6554:ba8354de1c4d stable

topic: invalidate topic namespace cache in repo.invalidatecaches()
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 04 Oct 2023 13:44:33 -0300
parents 30d0d3d92c8d
children e6a18e1cafe8
files CHANGELOG hgext3rd/topic/__init__.py
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG	Fri Aug 25 16:01:28 2023 -0300
+++ b/CHANGELOG	Wed Oct 04 13:44:33 2023 -0300
@@ -1,6 +1,13 @@
 Changelog
 =========
 
+11.0.3 - in progress
+--------------------
+
+topic (1.0.3)
+
+  * topic: invalidate topic namespace cache in repo.invalidatecaches()
+
 11.0.2 -- 2023-07-05
 --------------------
 
--- a/hgext3rd/topic/__init__.py	Fri Aug 25 16:01:28 2023 -0300
+++ b/hgext3rd/topic/__init__.py	Wed Oct 04 13:44:33 2023 -0300
@@ -636,6 +636,7 @@
                                                       closed=closed)
 
         def invalidatecaches(self):
+            self._tnscache.clear()
             self._topiccache.clear()
             super(topicrepo, self).invalidatecaches()