changeset 49445: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 6dbe74669eba
files contrib/perf.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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