error running hg-git on remote git repo
Martín Marqués
martin.marques at gmail.com
Thu Feb 13 19:20:39 UTC 2014
I'm trying to push an existing hg repo to an empty git repo I got
created, but I get this error:
[martin at coruscant reports]$ hg push
pushing to git+ssh://git.**************:*********/********.git
** 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.5 (default, Nov 12 2013, 16:18:42) [GCC 4.8.2 20131017
(Red Hat 4.8.2-1)]
** Mercurial Distributed SCM (version 2.6.3)
** Extensions loaded: hgk, extdiff, graphlog, hggit
Traceback (most recent call last):
File "/usr/bin/hg", line 38, in <module>
mercurial.dispatch.run()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 69, in dispatch
ret = _runcatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 97, in _runcatch
return _dispatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 778, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 549, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 869, in _runcommand
return checkargs()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 840, in checkargs
return cmdfunc()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py",
line 775, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line
506, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/commands.py",
line 4655, in push
newbranch=opts.get('new_branch'))
File "/usr/lib/python2.7/site-packages/hggit/hgrepo.py", line 22, in push
return git.push(remote.path, revs, force)
File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line
276, in push
old_refs, new_refs = self.upload_pack(remote, revs, force)
File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line
917, in upload_pack
new_refs = client.send_pack(path, changed, genpack)
File "/usr/lib64/python2.7/site-packages/dulwich/client.py", line
454, in send_pack
proto, unused_can_read = self._connect('receive-pack', path)
File "/usr/lib64/python2.7/site-packages/dulwich/client.py", line
817, in _connect
con = get_ssh_vendor().run_command(
AttributeError: '_Vendor' object has no attribute 'run_command'
Any ideas on how to go on from here?
--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador
More information about the Mercurial
mailing list