diff -r 5cc8deb96b48 -r e627cc25b6f3 mercurial/config.py --- a/mercurial/config.py Sun Jan 05 22:23:31 2025 -0500 +++ b/mercurial/config.py Sun Jan 05 22:26:16 2025 -0500 @@ -52,8 +52,7 @@ return self._data.get(section, {}) def __iter__(self): - for d in self.sections(): - yield d + yield from self.sections() def update(self, src): current_level = self._current_source_level