Forums

Cannot "hg clone" a mercurial directory (403 error)

If I open a bash shell, I see mercurial is installed, but I type

hg clone http....

and I get:

abort: HTTP Error 403: Forbidden

Is it possible to clone (and maintain) a mercurial repo?

Thanks

So I "hg clone"d to a directory in my home machine, then zipped the result, uploaded the zip file, opened a bash console, unzziped the result, then tried to "hg pull", and once again I got

abort: HTTP Error 403: Forbidden

This is a begginer account...

Right, the problem is that beginner accounts only have access to a set of whitelisted servers -- we had to do that to stop hackers from using us as a launching point.

Paid accounts have unrestricted Internet access. Alternatively, if you think that the site you're trying to connect to should be on the whitelist -- it should have an official public API for that -- then let us know what it is and we'll look into whitelisting it.

The link is

hg clone http://hg.savannah.nongnu.org/hgweb/karakolas/

Savannah is not as popular as github, it's true, but it's a serious and well-known site: your choice!

For all I'm concerned, I could work around the problem and start trying python anywhere.

Hi pang,

Just ask the developers nicely! They're usually more than happy to whitelist sites, it's simply a result of people having used beginner accounts to launch DoS attacks in the past

Thanks, Robert

Hi pang -- sure, that looks like a great thing to have on our whitelist -- I've added it, the text version I linked to above won't show, it but it does work,

Sorry if that did sound rude, I just meant I could around the limitation. Thanks a lot!

You're very welcome! We're here if you ever need anything.