diff -r 9bd6854aab86 -r 73ab542565e0 mercurial/dispatch.py --- a/mercurial/dispatch.py Sun Jan 05 22:00:40 2025 -0500 +++ b/mercurial/dispatch.py Sun Jan 05 22:12:02 2025 -0500 @@ -846,7 +846,7 @@ for cfg in config: try: - name, value = [cfgelem.strip() for cfgelem in cfg.split(b'=', 1)] + name, value = (cfgelem.strip() for cfgelem in cfg.split(b'=', 1)) section, name = name.split(b'.', 1) if not section or not name: raise IndexError