user1302575
user1302575

Reputation:

Hg-git not pushing commits on Github

I have this problem with hg-git where I can't push any commits to Github anymore. When before I had no problems at all.

I have a Mercurial repo in Bitbucket where I push to Github, with

hg push git+ssh://git@github.com:userid/MyRepo.git

This used to work, however now, when I do this, hg always return that there was no changes and the commits are not updated to Github. It is able to connect, no problems of that kind. It is really weird, something might have gone corrupted. So I did a fresh

hg clone 

of the repo from Bitbucket, checked if the commit history is there and then do the hg push to Github again, still it does not find any changes.

What could be the problem?

Upvotes: 3

Views: 754

Answers (1)

andref
andref

Reputation: 750

According to 'Use' section in https://bitbucket.org/durin42/hg-git/overview, you should switch from colon to slash after the host:

hg push git+ssh://git@github.com/userid/MyRepo.git

Upvotes: 1

Related Questions