Using TortoiseHg to push to a authenticated git repository

Posted by Nathan Palmer on Stack Overflow See other posts from Stack Overflow or by Nathan Palmer
Published on 2010-05-14T00:57:31Z Indexed on 2010/05/14 1:04 UTC
Read the original article Hit count: 358

Filed under:
|
|

I'm trying to push a changeset from a local Mercurial repository created with TortoiseHg to a remote Git repository. I have hg-git installed and configured and it will pull just fine. But when I run the push it gives me this

Command

hg push git+ssh://git@dummyrepo:username/repo.git

Result

pushing to git+ssh://git@dummyrepo:username/repo.git
importing Hg objects into Git
creating and sending data
abort: the remote end hung up unexpectedly

There are several things I've done to get to this point. But I'm hoping to resolve this last thing because I find TortoiseHg to be much easier to work with than any of the Git tools out there (for windows.)

  • Installed TortoiseHg
  • Pulled down the hg-git from http://bitbucket.org/durin42/hg-git/
  • Configured mercurial.ini to point to the hg-git library
  • Pulled down dulwich source from git://git.samba.org/jelmer/dulwich.git
  • Compiled dulwich and put it into library.zip for TortoiseHg
  • Configured TortoiseHg to use TortoisePlink.exe for ssh
  • Added my private key to Pageant

Any ideas what I could be missing?

© Stack Overflow or respective owner

Related posts about git

Related posts about tortoisehg