Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/dispatch.py Tue Aug 30 09:25:00 2016 -0700 +++ b/mercurial/dispatch.py Sat Aug 27 00:00:28 2016 +0900 @@ -929,7 +929,7 @@ break # Never blame on extensions bundled with Mercurial. - if testedwith == 'ships-with-hg-core': + if extensions.ismoduleinternal(mod): continue tested = [util.versiontuple(t, 2) for t in testedwith.split()]