tests/check-perf-code.py
changeset 42138 caebe5e7f4bd
parent 41721 eb8a8af4cbd0
child 43076 2372284d9457
equal deleted inserted replaced
42137:d086ba387ae8 42138:caebe5e7f4bd
     8 import sys
     8 import sys
     9 
     9 
    10 # write static check patterns here
    10 # write static check patterns here
    11 perfpypats = [
    11 perfpypats = [
    12   [
    12   [
    13     (r'(branchmap|repoview)\.subsettable',
    13     (r'(branchmap|repoview|repoviewutil)\.subsettable',
    14      "use getbranchmapsubsettable() for early Mercurial"),
    14      "use getbranchmapsubsettable() for early Mercurial"),
    15     (r'\.(vfs|svfs|opener|sopener)',
    15     (r'\.(vfs|svfs|opener|sopener)',
    16      "use getvfs()/getsvfs() for early Mercurial"),
    16      "use getvfs()/getsvfs() for early Mercurial"),
    17     (r'ui\.configint',
    17     (r'ui\.configint',
    18      "use getint() instead of ui.configint() for early Mercurial"),
    18      "use getint() instead of ui.configint() for early Mercurial"),