hg convert from http Mercurial source

Patrick Mézard pmezard at gmail.com
Mon Sep 8 04:42:57 CDT 2008


Arne Babenhauserheide a écrit :
> Am Sonntag 07 September 2008 22:30:19 schrieb Patrick Mézard:
>> 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.
> 
> Could that be automated, then? 
> 
> hg convert ONLINE_HG_REPO 
> -> hg clone REPO /tmp/repo-hg ; hg convert /tmp/repo-hg repo-hg ; rm -r 
> /tmp/repo-hg
> 
> (that's what I did to fix it for me...)
> 
> Otherwise it somehow breaks the "Mercurial just works" theme, I got used to :) 

Well, we explicitely avoid doing this because it's highly inefficient (imagine incremental conversions for instance), and can be scripted easily by those who really want to do it.

--
Patrick Mézard


More information about the Mercurial mailing list