diff tests/check-perf-code.py @ 42138:caebe5e7f4bd

repoview: move subsettable in a dedicated module The dictionary got moved in `branchmap` to avoid import cycle. However, we are about to needs it in repoview too. So we introduce a now module to define that that mapping.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 12 Apr 2019 15:41:32 +0200
parents eb8a8af4cbd0
children 2372284d9457
line wrap: on
line diff
--- a/tests/check-perf-code.py	Fri Feb 01 15:51:02 2019 +0100
+++ b/tests/check-perf-code.py	Fri Apr 12 15:41:32 2019 +0200
@@ -10,7 +10,7 @@
 # write static check patterns here
 perfpypats = [
   [
-    (r'(branchmap|repoview)\.subsettable',
+    (r'(branchmap|repoview|repoviewutil)\.subsettable',
      "use getbranchmapsubsettable() for early Mercurial"),
     (r'\.(vfs|svfs|opener|sopener)',
      "use getvfs()/getsvfs() for early Mercurial"),