##// END OF EJS Templates
dispatch: quote the extension when printing the bug report...
Matt Harbison -
r46564:a2104b9b default
parent child Browse files
Show More
@@ -1289,9 +1289,9 b' def _exceptionwarning(ui):'
1289 extver = version or _(b"(version N/A)")
1289 extver = version or _(b"(version N/A)")
1290 warning = _(
1290 warning = _(
1291 b'** Unknown exception encountered with '
1291 b'** Unknown exception encountered with '
1292 b'possibly-broken third-party extension %s %s\n'
1292 b'possibly-broken third-party extension "%s" %s\n'
1293 b'** which supports versions %s of Mercurial.\n'
1293 b'** which supports versions %s of Mercurial.\n'
1294 b'** Please disable %s and try your action again.\n'
1294 b'** Please disable "%s" and try your action again.\n'
1295 b'** If that fixes the bug please report it to %s\n'
1295 b'** If that fixes the bug please report it to %s\n'
1296 ) % (name, extver, testedwith, name, stringutil.forcebytestr(report))
1296 ) % (name, extver, testedwith, name, stringutil.forcebytestr(report))
1297 else:
1297 else:
@@ -482,7 +482,7 b' blackbox should work if repo.ui.log is n'
482 #endif
482 #endif
483
483
484 $ head -1 .hg/blackbox.log
484 $ head -1 .hg/blackbox.log
485 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> ** Unknown exception encountered with possibly-broken third-party extension mock (version N/A)
485 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> ** Unknown exception encountered with possibly-broken third-party extension "mock" (version N/A)
486 $ tail -2 .hg/blackbox.log
486 $ tail -2 .hg/blackbox.log
487 RuntimeError: raise
487 RuntimeError: raise
488
488
@@ -310,9 +310,9 b' Stripping from a transaction'
310 Test programming error failure:
310 Test programming error failure:
311
311
312 $ hg buggytransaction 2>&1 | egrep -v '^ '
312 $ hg buggytransaction 2>&1 | egrep -v '^ '
313 ** Unknown exception encountered with possibly-broken third-party extension buggylocking (version N/A)
313 ** Unknown exception encountered with possibly-broken third-party extension "buggylocking" (version N/A)
314 ** which supports versions unknown of Mercurial.
314 ** which supports versions unknown of Mercurial.
315 ** Please disable buggylocking and try your action again.
315 ** Please disable "buggylocking" and try your action again.
316 ** If that fixes the bug please report it to the extension author.
316 ** If that fixes the bug please report it to the extension author.
317 ** Python * (glob)
317 ** Python * (glob)
318 ** Mercurial Distributed SCM (*) (glob)
318 ** Mercurial Distributed SCM (*) (glob)
@@ -322,9 +322,9 b' Test programming error failure:'
322 *ProgrammingError: transaction requires locking (glob)
322 *ProgrammingError: transaction requires locking (glob)
323
323
324 $ hg programmingerror 2>&1 | egrep -v '^ '
324 $ hg programmingerror 2>&1 | egrep -v '^ '
325 ** Unknown exception encountered with possibly-broken third-party extension buggylocking (version N/A)
325 ** Unknown exception encountered with possibly-broken third-party extension "buggylocking" (version N/A)
326 ** which supports versions unknown of Mercurial.
326 ** which supports versions unknown of Mercurial.
327 ** Please disable buggylocking and try your action again.
327 ** Please disable "buggylocking" and try your action again.
328 ** If that fixes the bug please report it to the extension author.
328 ** If that fixes the bug please report it to the extension author.
329 ** Python * (glob)
329 ** Python * (glob)
330 ** Mercurial Distributed SCM (*) (glob)
330 ** Mercurial Distributed SCM (*) (glob)
@@ -1415,9 +1415,9 b' accessed.'
1415
1415
1416 No declared supported version, extension complains:
1416 No declared supported version, extension complains:
1417 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1417 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1418 ** Unknown exception encountered with possibly-broken third-party extension throw 1.0.0
1418 ** Unknown exception encountered with possibly-broken third-party extension "throw" 1.0.0
1419 ** which supports versions unknown of Mercurial.
1419 ** which supports versions unknown of Mercurial.
1420 ** Please disable throw and try your action again.
1420 ** Please disable "throw" and try your action again.
1421 ** If that fixes the bug please report it to the extension author.
1421 ** If that fixes the bug please report it to the extension author.
1422 ** Python * (glob)
1422 ** Python * (glob)
1423 ** Mercurial Distributed SCM * (glob)
1423 ** Mercurial Distributed SCM * (glob)
@@ -1427,9 +1427,9 b' empty declaration of supported version, '
1427 the value is improperly a str instead of bytes):
1427 the value is improperly a str instead of bytes):
1428 $ echo "testedwith = ''" >> throw.py
1428 $ echo "testedwith = ''" >> throw.py
1429 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1429 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1430 ** Unknown exception encountered with possibly-broken third-party extension throw 1.0.0
1430 ** Unknown exception encountered with possibly-broken third-party extension "throw" 1.0.0
1431 ** which supports versions unknown of Mercurial.
1431 ** which supports versions unknown of Mercurial.
1432 ** Please disable throw and try your action again.
1432 ** Please disable "throw" and try your action again.
1433 ** If that fixes the bug please report it to the extension author.
1433 ** If that fixes the bug please report it to the extension author.
1434 ** Python * (glob)
1434 ** Python * (glob)
1435 ** Mercurial Distributed SCM (*) (glob)
1435 ** Mercurial Distributed SCM (*) (glob)
@@ -1441,9 +1441,9 b' improperly a str instead of bytes):'
1441 $ rm -f throw.pyc throw.pyo
1441 $ rm -f throw.pyc throw.pyo
1442 $ rm -Rf __pycache__
1442 $ rm -Rf __pycache__
1443 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1443 $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
1444 ** Unknown exception encountered with possibly-broken third-party extension throw 1.0.0
1444 ** Unknown exception encountered with possibly-broken third-party extension "throw" 1.0.0
1445 ** which supports versions unknown of Mercurial.
1445 ** which supports versions unknown of Mercurial.
1446 ** Please disable throw and try your action again.
1446 ** Please disable "throw" and try your action again.
1447 ** If that fixes the bug please report it to http://example.com/bts
1447 ** If that fixes the bug please report it to http://example.com/bts
1448 ** Python * (glob)
1448 ** Python * (glob)
1449 ** Mercurial Distributed SCM (*) (glob)
1449 ** Mercurial Distributed SCM (*) (glob)
@@ -1458,9 +1458,9 b' If the extensions declare outdated versi'
1458 $ rm -Rf __pycache__
1458 $ rm -Rf __pycache__
1459 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
1459 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
1460 > throw 2>&1 | egrep '^\*\*'
1460 > throw 2>&1 | egrep '^\*\*'
1461 ** Unknown exception encountered with possibly-broken third-party extension older (version N/A)
1461 ** Unknown exception encountered with possibly-broken third-party extension "older" (version N/A)
1462 ** which supports versions 1.9 of Mercurial.
1462 ** which supports versions 1.9 of Mercurial.
1463 ** Please disable older and try your action again.
1463 ** Please disable "older" and try your action again.
1464 ** If that fixes the bug please report it to the extension author.
1464 ** If that fixes the bug please report it to the extension author.
1465 ** Python * (glob)
1465 ** Python * (glob)
1466 ** Mercurial Distributed SCM (version 2.2)
1466 ** Mercurial Distributed SCM (version 2.2)
@@ -1472,9 +1472,9 b' One extension only tested with older, on'
1472 $ rm -Rf __pycache__
1472 $ rm -Rf __pycache__
1473 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
1473 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
1474 > throw 2>&1 | egrep '^\*\*'
1474 > throw 2>&1 | egrep '^\*\*'
1475 ** Unknown exception encountered with possibly-broken third-party extension older (version N/A)
1475 ** Unknown exception encountered with possibly-broken third-party extension "older" (version N/A)
1476 ** which supports versions 1.9 of Mercurial.
1476 ** which supports versions 1.9 of Mercurial.
1477 ** Please disable older and try your action again.
1477 ** Please disable "older" and try your action again.
1478 ** If that fixes the bug please report it to the extension author.
1478 ** If that fixes the bug please report it to the extension author.
1479 ** Python * (glob)
1479 ** Python * (glob)
1480 ** Mercurial Distributed SCM (version 2.1)
1480 ** Mercurial Distributed SCM (version 2.1)
@@ -1486,9 +1486,9 b' Older extension is tested with current v'
1486 $ rm -Rf __pycache__
1486 $ rm -Rf __pycache__
1487 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
1487 $ hg --config extensions.throw=throw.py --config extensions.older=older.py \
1488 > throw 2>&1 | egrep '^\*\*'
1488 > throw 2>&1 | egrep '^\*\*'
1489 ** Unknown exception encountered with possibly-broken third-party extension throw 1.0.0
1489 ** Unknown exception encountered with possibly-broken third-party extension "throw" 1.0.0
1490 ** which supports versions 2.1 of Mercurial.
1490 ** which supports versions 2.1 of Mercurial.
1491 ** Please disable throw and try your action again.
1491 ** Please disable "throw" and try your action again.
1492 ** If that fixes the bug please report it to http://example.com/bts
1492 ** If that fixes the bug please report it to http://example.com/bts
1493 ** Python * (glob)
1493 ** Python * (glob)
1494 ** Mercurial Distributed SCM (version 1.9.3)
1494 ** Mercurial Distributed SCM (version 1.9.3)
General Comments 0
You need to be logged in to leave comments. Login now