Can not clone mercurial (hg) repository via http -
I can not clone my repository http:
abort: '' It does not appear to be a HG Repository!
First of all, I created a new repository by adding some files and committed by hg init MYREPO .
The dir password is safe with my repo but due to this there is no sign of problem, I tried both methods of cloning: (on my local machine)
hg clone my_repo
and
HG Clone my_repo
Repo Dior is allowed: drwxrwxr-x
I have a remote machine without any problem (Same repo on current) can clone this very repository.
What could possibly be wrong?
update:
As you are getting confused between the repository and the hostname If the "hg service", "hg clone" is going on, where the host can type the IP or hostname of the machine (you can type "hostname" on Linux or "ping localhost"). If you want to do this on SSH, you can replace the default port with 8000 by providing HG service "hg clone ssh: // USER @ HOST //" - #### - To provide an HPL service to ####. Suppose that you have created a repository in my home directory named MYREPO, then you will do this: "HG Clone SSH: // USER @ HOST / ~ / MYREPO "
You can only clone your repo via http and http service on the Http repairs Mercurial provides for you created in an HTTP server. While running" HG service "inside your repo, Then try to clone it with another location (or other command shell). If you want a local clone, you do not need to use http ("hg clone")
Also, try "Hg Support Clone" and "Hg Support Service" for details.
Comments
Post a Comment