mercurial/dispatch.py
branchstable
changeset 18224 0f9013112eba
parent 17773 434e5bd615fc
child 18227 720308f741cb
--- a/mercurial/dispatch.py	Wed Jan 02 13:59:07 2013 +0100
+++ b/mercurial/dispatch.py	Fri Jan 04 19:06:42 2013 +0100
@@ -217,11 +217,11 @@
         ct = tuplever(compare)
         worst = None, ct, ''
         for name, mod in extensions.extensions():
-            testedwith = getattr(mod, 'testedwith', 'unknown')
+            testedwith = getattr(mod, 'testedwith', '')
             report = getattr(mod, 'buglink', _('the extension author.'))
-            if testedwith == 'unknown':
+            if not testedwith.strip():
                 # We found an untested extension. It's likely the culprit.
-                worst = name, testedwith, report
+                worst = name, 'unknown', report
                 break
             if compare not in testedwith.split() and testedwith != 'internal':
                 tested = [tuplever(v) for v in testedwith.split()]