1. Augie Fackler
  2. hg-git
  3. Issues
Issue #63 resolved

unable to clone empty repos

Anonymous created an issue

i got the following error while cloning empty repos.

** Unknown exception encountered with possibly-broken third-party extension git
** which supports versions unknown of Mercurial.
** Please disable git and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) [GCC 4.6.3]
** Mercurial Distributed SCM (version 2.3.1)
** Extensions loaded: git
Traceback (most recent call last):
  File "/usr/bin/hg", line 38, in <module>
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 65, in dispatch
    return _runcatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 88, in _runcatch
    return _dispatch(req)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 740, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 514, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 830, in _runcommand
    return checkargs()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 801, in checkargs
    return cmdfunc()
  File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 737, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 471, in check
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1206, in clone
  File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 363, in clone
    destpeer.local().clone(srcpeer, heads=revs, stream=stream)
  File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2556, in clone
    return self.pull(remote, heads)
  File "/usr/lib/python2.7/dist-packages/hgext/git/hgrepo.py", line 14, in pull
    return git.fetch(remote.path, heads)
  File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 182, in fetch
    refs = self.fetch_pack(remote, heads)
  File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 916, in fetch_pack
    f.write, progress.progress)
  File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 471, in fetch_pack
    refs, server_capabilities = self._read_refs(proto)
  File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 172, in _read_refs
    return refs, set(server_capabilities)
TypeError: 'NoneType' object is not iterable

fatal: The remote end hung up unexpectedly

Comments (7)

  1. Log in to comment