Can not clone repository with subrepositories over http

Mads Kiilerich mads at kiilerich.com
Fri Feb 18 16:50:31 CST 2011


Elanius wrote, On 02/17/2011 03:43 PM:
> Hi
>
> I have some troubles with cloning repository over http. I am using 
> apache web server. Everything is running on win xp sp3 and. My 
> repository contain lot of sub-repositories and sub-sub-repositories. 
> It will be big project.
> When I use normal file path to root repository then everything works. 
> But if I tried do it over http://localhost/repo/apps/ apps then I get 
> exception.
>
> What is another thing which surprised me is that it works perfectly on 
> my linux based system. On windows it work only if I clone repository 
> which doesn't contain another subrepository.
> ...
>   File "mercurial\statichttprepo.pyc", line 146, in instance
>   File "mercurial\statichttprepo.pyc", line 132, in __init__
> KeyError: 'pushkey'

Thanks for the report. That has now been fixed in crew stable.

But you really shouldn't be using statichttp. It is inefficient, lacks 
features, and is quite deprecated. The best option on windows might to 
install some kind of http server as described on 
http://mercurial.selenic.com/wiki/PublishingRepositories .

/Mads


More information about the Mercurial-devel mailing list