D4820: logtoprocess: sends the canonical command name to the subprocess

Yuya Nishihara yuya at tcha.org
Mon Oct 22 09:27:00 EDT 2018


> +                    # extract the canonical command from the passed opts.
> +                    # we need to pop it up from the opts else the msg will try
> +                    # being formatted using the passed opts.

Oops, that's probably a bug. IIUC, `**opts` is just ancillary data, and
the `msg[0]` should always be parameterized by `msg[1:]`. That's how blackbox
works.

Can you send a separate patch to fix the issue?


More information about the Mercurial-devel mailing list