diff contrib/perf.py @ 49471:cd21f2b4226f

perf: properly process formatter option in perf::unbundle Otherwise, the options are not understood.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 25 Aug 2022 05:12:25 +0200
parents 52f31b660d38
children a7a5740b322a
line wrap: on
line diff
--- 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