hg convert from http Mercurial source

Patrick Mézard pmezard at gmail.com
Sun Sep 7 15:30:19 CDT 2008


Arne Babenhauserheide a écrit :
> Hi, 
> 
> I just tried to hg convert the hg-stable repo
> 
> hg convert http://selenic.com/repo/hg-stable/
> 
> It says, it doesn't look like a Mercurial repo. 
> 
> But hg clone thinks otherwise.  
> 
> hg clone http://selenic.com/repo/hg-stable/
> 
> Is there a good reason for that, or did I just stumble on a bug? 

The good reason is accessing a mercurial repository is usually done locally for performance reasons, and hg clone, incoming and one or two other commands are the exception. The error message could be better though.

--
Patrick Mézard


More information about the Mercurial mailing list