Mercurial to git
Created originally on Bitbucket by wir_wolf (Andru Cherny)
#!python
** Mercurial version (3.0.1). TortoiseHg version (3.0)
** Command: --nofork
** CWD: /home/wirwolf/Web/www/test1
** Encoding: UTF-8
** Extensions loaded: hggit, convert, git
** Python version: 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2]
** System: Linux WirOMOBILE 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64
** Qt-4.8.6 PyQt-4.10.4 QScintilla-2.8.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/thread.py", line 304, in run
self.ret = hglib.dispatch(ui, self.cmdline) or 0
File "/usr/lib/python2.7/dist-packages/tortoisehg/util/hglib.py", line 704, in dispatch
return hgdispatch._dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 819, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 599, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 910, in _runcommand
return checkargs()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 881, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 816, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 518, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 4717, in push
newbranch=opts.get('new_branch'))
File "/usr/lib/python2.7/dist-packages/hgext/git/hgrepo.py", line 22, in push
return git.push(remote.path, revs, force)
File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 275, in push
self.export_commits()
File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 243, in export_commits
self.update_references()
File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 1060, in update_references
self.git.refs['refs/heads/' + key] = self.map_git_get(heads[key])
File "/usr/lib/python2.7/dist-packages/dulwich/refs.py", line 257, in __setitem__
self.set_if_equals(name, None, ref)
File "/usr/lib/python2.7/dist-packages/dulwich/refs.py", line 564, in set_if_equals
self._check_refname(name)
File "/usr/lib/python2.7/dist-packages/dulwich/refs.py", line 170, in _check_refname
raise RefFormatError(name)
RefFormatError: refs/heads/ready to production. parser yandex & google