HG clone returns “abort: HTTP Error 406: Not Acceptable” on Redmine / VMWare computer
Added by Alejandro Ramirez over 12 years ago
Hello!
I hope I'm posting this question in the correct place. I'm sorry if Not. so, here it goes:
I'm really new with SCM systems, so I'm starting to study Mercurial on Redmine, but I'm facing a problem that I have no idea how to fix. I hope someone can point me the right direction :-) :
So, I have installed the BitNami Redmine Stack (http://bitnami.org/stack/redmine) on a Vmware computer with windows 2003 (64 Bits) as the OS. On the same VM I have installed Mercurial-2.3 (Mercurial 2.3 Inno Setup installer - x64 Windows - does not require admin rights) -[[http://mercurial.selenic.com/downloads/]] - , and restarted. after that , created a directory (e:\helloworld) and I have initialized the directory with some basic HG commands (HG Init, HG Add, HG Commit).
Using the host computer to confirm the correct communication with the VMWare guest computer, I have created a small project in Redmine, added a repository with Mercurial as the SCM and included the initialized directory (e:\helloworld on the server). The repository is displayed correctly in Redmine, and, working directly in the virtual computer if I do some changes and perform some commits, the changes are displayed in the Redmine repository. From my current limited knowledge, all seems to be ok when I work directly in the VM, but when I try to clone the directory using HG clone from the host computer, the server responds:
C:\helloworld>hg clone http://redminevm/redmine/projects/helloworld
abort: HTTP Error 406: Not Acceptable
I also have tried with the IP address instead of the hostname, adding the username and the password to the URL, or initializing the local folder previous to try the hg clone. all my attemps return the same result. I'm assuming something is incorrect in the server, but I have no idea what it can be.
What should review on the server (or Client), in order to allow me to clone the Mercurial repository thru http that I have in RedMine?
Thank you very much in advance!
Alex.
Replies (2)
RE: HG clone returns “abort: HTTP Error 406: Not Acceptable” on Redmine / VMWare computer - Added by William Roush over 12 years ago
hg clone http://redminevm/redmine/projects/helloworld
What should review on the server (or Client), in order to allow me to clone the Mercurial repository thru http that I have in RedMine?
Redmine is a project management system, not a source code repository system.
You'll probably want something like Rhodecode for that:
RE: HG clone returns “abort: HTTP Error 406: Not Acceptable” on Redmine / VMWare computer - Added by Alejandro Ramirez over 12 years ago
Hello William,
Thank you for the response! I'm sorry for my delayed answer, I'm using my free time to learn. ok, now I understand. so; even if we can have repositories in a project, RedMine is not a repository server. Means I can link a repository to a project, but, if I want work on it thru http (or serve multiples repositories) , aditionally I need install a server like rhodecode :-)
Thank you again. so I'll continue studying Redmine , and also, I'll try rhodecode.org!
Alex.