Skip to content
Snippets Groups Projects
Commit ae74a60a authored by Arseniy Alekseyev's avatar Arseniy Alekseyev
Browse files

ui: add a test demonstrating a crash in `hg paths`

parent a45460e2
No related branches found
No related tags found
2 merge requests!617Merge stable into default,!599ui: fix crash in `hg paths` when pulled-delta-reuse-policy is in use
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment