modcheck: whitelist lz4revlog

Sometimes `test-check-*` were skipped. Upon investigation, it's because
`lz4revlog` was imported and `hg` printed warnings with `modcheck`. So let's
make `lz4revlog` whitelisted.

Differential Revision: https://phab.mercurial-scm.org/D49
This commit is contained in:
Jun Wu 2017-07-11 14:42:10 -07:00
parent f1ac312e52
commit ce47fb8c56

View File

@ -17,7 +17,7 @@ from mercurial import dispatch
dirname = os.path.dirname
# skip checking external modules
skipmodre = re.compile(r'\Amysql|remotenames|hgsubversion.*\Z')
skipmodre = re.compile(r'\Amysql|remotenames|hgsubversion.*|lz4revlog\Z')
reporoot = dirname(dirname(__file__))
pyroot = dirname(os.__file__)