perf: properly process formatter option in perf::unbundle
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 25 Aug 2022 05:12:25 +0200
changeset 49445 cd21f2b4226f
parent 49444 52f31b660d38
child 49447 6dbe74669eba
perf: properly process formatter option in perf::unbundle Otherwise, the options are not understood.
contrib/perf.py
--- 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