# HG changeset patch # User Arseniy Alekseyev # Date 1686317500 -3600 # Node ID ae74a60ad58359d037c45d41ea7ea10a4926cb2f # Parent a45460e235a244dba8faa1d3f81d24a8f9b1be92 ui: add a test demonstrating a crash in `hg paths` diff -r a45460e235a2 -r ae74a60ad583 tests/test-pullling-to-general-delta.t --- a/tests/test-pullling-to-general-delta.t Sat Jun 17 04:05:53 2023 +0200 +++ b/tests/test-pullling-to-general-delta.t Fri Jun 09 14:31:40 2023 +0100 @@ -178,6 +178,15 @@ ------------------------- $ cp -R client client-forced + $ hg -R client-forced paths --config paths.default:pulled-delta-reuse-policy=forced 2>&1 | "$PYTHON" $TESTDIR/filtertraceback.py + default = $TESTTMP/server + default:pulled-delta-reuse-policy = ** unknown exception encountered, please report by visiting + ** https://mercurial-scm.org/wiki/BugTracker + ** Python * (glob) + ** Mercurial Distributed SCM (*) (glob) + ** Extensions loaded: + Traceback (most recent call last): + TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int' $ hg -R client-forced pull --config paths.default:pulled-delta-reuse-policy=forced pulling from $TESTTMP/server requesting all changes