changeset 46493 | f7621fa14b84 |
parent 46114 | 59fa3890d40a |
child 46819 | d4ba4d51f85f |
--- a/hgext/convert/git.py Fri Jan 29 14:03:39 2021 +0100 +++ b/hgext/convert/git.py Sat Jan 30 00:36:54 2021 +0100 @@ -247,7 +247,8 @@ b'\n'.join(line.strip() for line in content.split(b'\n')), ) for sec in c.sections(): - s = c[sec] + # turn the config object into a real dict + s = dict(c.items(sec)) if b'url' in s and b'path' in s: self.submodules.append(submodule(s[b'path'], b'', s[b'url']))