Show More
@@ -2394,9 +2394,10 b' def debugextensions(ui, **opts):' | |||
|
2394 | 2394 | hgver = util.version() |
|
2395 | 2395 | fm = ui.formatter('debugextensions', opts) |
|
2396 | 2396 | for extname, extmod in sorted(exts, key=operator.itemgetter(0)): |
|
2397 | isinternal = extensions.ismoduleinternal(extmod) | |
|
2397 | 2398 | extsource = extmod.__file__ |
|
2398 | 2399 | exttestedwith = getattr(extmod, 'testedwith', '').split() |
|
2399 | if exttestedwith == ['ships-with-hg-core']: | |
|
2400 | if isinternal: | |
|
2400 | 2401 | showtestedwith = ['internal'] |
|
2401 | 2402 | else: |
|
2402 | 2403 | showtestedwith = exttestedwith |
@@ -2410,8 +2411,7 b' def debugextensions(ui, **opts):' | |||
|
2410 | 2411 | fm.write('name', '%s', extname) |
|
2411 | 2412 | if not exttestedwith: |
|
2412 | 2413 | fm.plain(_(' (untested!)\n')) |
|
2413 | elif (exttestedwith == ['ships-with-hg-core'] | |
|
2414 | or hgver in exttestedwith): | |
|
2414 | elif isinternal or hgver in exttestedwith: | |
|
2415 | 2415 | fm.plain('\n') |
|
2416 | 2416 | else: |
|
2417 | 2417 | lasttestedversion = exttestedwith[-1] |
@@ -929,7 +929,7 b' def _exceptionwarning(ui):' | |||
|
929 | 929 | break |
|
930 | 930 | |
|
931 | 931 | # Never blame on extensions bundled with Mercurial. |
|
932 | if testedwith == 'ships-with-hg-core': | |
|
932 | if extensions.ismoduleinternal(mod): | |
|
933 | 933 | continue |
|
934 | 934 | |
|
935 | 935 | tested = [util.versiontuple(t, 2) for t in testedwith.split()] |
General Comments 0
You need to be logged in to leave comments.
Login now