Mercurial > hg-stable
changeset 50399:ae74a60ad583 stable
ui: add a test demonstrating a crash in `hg paths`
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Fri, 09 Jun 2023 14:31:40 +0100 |
parents | a45460e235a2 |
children | ba602ddcb296 |
files | tests/test-pullling-to-general-delta.t |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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