# HG changeset patch # User Pierre-Yves David # Date 2022-08-25 03:12:25 # Node ID cd21f2b4226f686ab902cbbe5f884ae9ad259ff2 # Parent 52f31b660d386e4d48f0ac43c0828322f2bf9559 perf: properly process formatter option in perf::unbundle Otherwise, the options are not understood. diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -2666,6 +2666,8 @@ def perf_unbundle(ui, repo, fname, **opt from mercurial import exchange from mercurial import bundle2 + opts = _byteskwargs(opts) + with repo.lock(): bundle = [None, None] orig_quiet = repo.ui.quiet