Pull crashes on some repos
Created originally on Bitbucket by Mikhail Paulyshka
#!
C:\Projects\Git>hg clone git://github.com/ErshKUS/OpenStreetMap.ru.git
destination directory: OpenStreetMap.ru
importing git objects into hg
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 2.3.1 of Mercurial.
** Please disable hggit and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues
** Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 2.4+6-35ba170c0f82)
** Extensions loaded: progress, hggit
Traceback (most recent call last):
File "hg", line 42, in <module>
File "mercurial\dispatch.pyo", line 28, in run
File "mercurial\dispatch.pyo", line 65, in dispatch
File "mercurial\dispatch.pyo", line 88, in _runcatch
File "mercurial\dispatch.pyo", line 741, in _dispatch
File "mercurial\dispatch.pyo", line 514, in runcommand
File "mercurial\dispatch.pyo", line 831, in _runcommand
File "mercurial\dispatch.pyo", line 802, in checkargs
File "mercurial\dispatch.pyo", line 738, in <lambda>
File "mercurial\util.pyo", line 472, in check
File "mercurial\commands.pyo", line 1220, in clone
File "mercurial\hg.pyo", line 381, in clone
File "mercurial\localrepo.pyo", line 2582, in clone
File "C:\Projects\Hg\hg.git\hggit\hgrepo.py", line 14, in pull
return git.fetch(remote.path, heads)
File "C:\Projects\Hg\hg.git\hggit\git_handler.py", line 209, in fetch
self.import_git_objects(remote_name, refs)
File "C:\Projects\Hg\hg.git\hggit\git_handler.py", line 655, in import_git_objects
self.import_git_commit(commit)
File "C:\Projects\Hg\hg.git\hggit\git_handler.py", line 708, in import_git_commit
gitmodules = self.parse_gitmodules(git_commit_tree)
File "C:\Projects\Hg\hg.git\hggit\git_handler.py", line 1290, in parse_gitmodules
for section in tt.keys():
AttributeError: 'ConfigFile' object has no attribute 'keys'