comparison mercurial/dispatch.py @ 29884:ed793f41e83f

extensions: use ismoduleinternal() thoroughly "ships-with-hg-core" would be long enough to typo.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 27 Aug 2016 00:00:28 +0900
parents 318e2b600b80
children dfd97e60044c
comparison
equal deleted inserted replaced
29883:0c8c388c7d62 29884:ed793f41e83f
927 # We found an untested extension. It's likely the culprit. 927 # We found an untested extension. It's likely the culprit.
928 worst = name, 'unknown', report 928 worst = name, 'unknown', report
929 break 929 break
930 930
931 # Never blame on extensions bundled with Mercurial. 931 # Never blame on extensions bundled with Mercurial.
932 if testedwith == 'ships-with-hg-core': 932 if extensions.ismoduleinternal(mod):
933 continue 933 continue
934 934
935 tested = [util.versiontuple(t, 2) for t in testedwith.split()] 935 tested = [util.versiontuple(t, 2) for t in testedwith.split()]
936 if ct in tested: 936 if ct in tested:
937 continue 937 continue