Search code examples
githubmercurialhg-git

hg-git repository not found


I would like to configure my Mercurial project to be able to push it into gitHub repository.

While using command:

hg push git+ssh://git@github.com/myusername/myproject.git

I receive a msg:

abort: repository git+ssh://git@github.com/myusername/myproject.git not found!

I already check and establish SSH connection, and it looks ok:

Hi myusername! You've successfully authenticated, but GitHub does not provide shell access.

my respository url copied from github (it's a fork from other open-source project): https://github.com/myusername/myproject.git

What else I should check? Why I have an information that it doesn't exist while, in fact, it does? Where can be a problem?


Solution

  • Are you sure that you have enabled and setup the hg-git extension correctly. This error also appears if the extension is not correctly setup.

    Can you try it with a local git repository to phase-out github as a possible error.