Show More
@@ -225,8 +225,9 b' def _runcatch(req):' | |||
|
225 | 225 | break |
|
226 | 226 | if compare not in testedwith.split() and testedwith != 'internal': |
|
227 | 227 | tested = [tuplever(v) for v in testedwith.split()] |
|
228 |
|
|
|
229 |
|
|
|
228 | lower = [t for t in tested if t < ct] | |
|
229 | nearest = max(lower or tested) | |
|
230 | if worst[0] is None or nearest < worst[1]: | |
|
230 | 231 | worst = name, nearest, report |
|
231 | 232 | if worst[0] is not None: |
|
232 | 233 | name, testedwith, report = worst |
@@ -522,7 +522,31 b' If the extensions declare outdated versi' | |||
|
522 | 522 | ** Please disable older and try your action again. |
|
523 | 523 | ** If that fixes the bug please report it to the extension author. |
|
524 | 524 | ** Python * (glob) |
|
525 |
** Mercurial Distributed SCM ( |
|
|
525 | ** Mercurial Distributed SCM (version 2.2) | |
|
526 | ** Extensions loaded: throw, older | |
|
527 | One extension only tested with older, one only with newer versions: | |
|
528 | $ echo "util.version = lambda:'2.1.0'" >> older.py | |
|
529 | $ rm -f older.pyc older.pyo | |
|
530 | $ hg --config extensions.throw=throw.py --config extensions.older=older.py \ | |
|
531 | > throw 2>&1 | egrep '^\*\*' | |
|
532 | ** Unknown exception encountered with possibly-broken third-party extension older | |
|
533 | ** which supports versions 1.9.3 of Mercurial. | |
|
534 | ** Please disable older and try your action again. | |
|
535 | ** If that fixes the bug please report it to the extension author. | |
|
536 | ** Python * (glob) | |
|
537 | ** Mercurial Distributed SCM (version 2.1.0) | |
|
538 | ** Extensions loaded: throw, older | |
|
539 | Older extension is tested with current version, the other only with newer: | |
|
540 | $ echo "util.version = lambda:'1.9.3'" >> older.py | |
|
541 | $ rm -f older.pyc older.pyo | |
|
542 | $ hg --config extensions.throw=throw.py --config extensions.older=older.py \ | |
|
543 | > throw 2>&1 | egrep '^\*\*' | |
|
544 | ** Unknown exception encountered with possibly-broken third-party extension throw | |
|
545 | ** which supports versions 2.1.1 of Mercurial. | |
|
546 | ** Please disable throw and try your action again. | |
|
547 | ** If that fixes the bug please report it to http://example.com/bts | |
|
548 | ** Python * (glob) | |
|
549 | ** Mercurial Distributed SCM (version 1.9.3) | |
|
526 | 550 | ** Extensions loaded: throw, older |
|
527 | 551 | |
|
528 | 552 | Declare the version as supporting this hg version, show regular bts link: |
General Comments 0
You need to be logged in to leave comments.
Login now