--- a/contrib/perf.py Thu Aug 25 05:11:48 2022 +0200
+++ b/contrib/perf.py Thu Aug 25 05:12:25 2022 +0200
@@ -2666,6 +2666,8 @@
from mercurial import exchange
from mercurial import bundle2
+ opts = _byteskwargs(opts)
+
with repo.lock():
bundle = [None, None]
orig_quiet = repo.ui.quiet