Crash when cloning from Stash: AttributeError: 'NoneType' object has no attribute 'iteritems'.
Created originally on Bitbucket by Timmmm (Tim Hutt)
Behold:
>hg clone --debug --verbose git+http://stash.mycompany.global.corp/scm/abc/myrepo.git C:\Users\me\Desktop\myrepo
http authorization required for http://stash.mycompany.global.corp/scm/abc/myrepo.git/info/refs
realm: Atlassian Stash
user: me
password:
http auth: user me, password ********
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 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.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.1.2)
** Extensions loaded: eol, 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 69, in dispatch
File "mercurial\dispatch.pyo", line 138, in _runcatch
File "mercurial\dispatch.pyo", line 839, in _dispatch
File "mercurial\dispatch.pyo", line 600, in runcommand
File "mercurial\dispatch.pyo", line 930, in _runcommand
File "mercurial\dispatch.pyo", line 901, in checkargs
File "mercurial\dispatch.pyo", line 836, in <lambda>
File "mercurial\util.pyo", line 550, in check
File "mercurial\commands.pyo", line 1331, in clone
File "mercurial\hg.pyo", line 402, in clone
File "mercurial\localrepo.pyo", line 1730, in clone
File "hggit\hgrepo.pyo", line 14, in inner
File "hggit\hgrepo.pyo", line 25, in pull
File "hggit\git_handler.pyo", line 227, in fetch
File "hggit\git_handler.pyo", line 1097, in fetch_pack
File "dulwich\client.pyo", line 1041, in fetch_pack
File "hggit\git_handler.pyo", line 1091, in determine_wants
File "hggit\git_handler.pyo", line 1133, in filter_refs
AttributeError: 'NoneType' object has no attribute 'iteritems'