diff contrib/perf.py @ 43543:daade078f1f0

merge with stable
author Yuya Nishihara <yuya@tcha.org>
date Fri, 08 Nov 2019 23:26:50 +0900
parents bfc68404cccd be384a2052aa
children 313e3a279828
line wrap: on
line diff
--- a/contrib/perf.py	Thu Oct 17 19:29:22 2019 -0400
+++ b/contrib/perf.py	Fri Nov 08 23:26:50 2019 +0900
@@ -691,8 +691,8 @@
         def clearcache():
             # _tagscache has been filteredpropertycache since 2.5 (or
             # 98c867ac1330), and delattr() can't work in such case
-            if b'_tagscache' in vars(repo):
-                del repo.__dict__[b'_tagscache']
+            if '_tagscache' in vars(repo):
+                del repo.__dict__['_tagscache']
 
         return clearcache