hg pull URL syntax

Matt Mackall mpm at selenic.com
Wed Jul 27 18:14:27 UTC 2005


On Sat, Jul 16, 2005 at 10:06:05PM -0400, Dan Christensen wrote:
> I just tried running "hg serve" in a repository on machineA and then
> tried
> 
>   hg pull http://machineA:8000
>   hg pull http://machineA
>   hg pull http://machineA/
> 
> all of which gave various hard to understand errors.  Finally I tried
> 
>   hg pull http://machineA:8000/
> 
> which worked.
> 
>   hg pull http://machineA:8000
> 
> gives a long traceback ending with:
> 
>   httplib.InvalidURL: nonnumeric port: '8000?cmd=heads'
> 
> Should a slash be added by default?
> 
>   hg pull http://machineA
> 
> gives
> 
>   pulling from http://machineA
>   searching for changes
>   abort: error -2: Name or service not known

Fixed some time last week.

> connects to a web server that knows nothing about hg.  It gives
> a long traceback ending with
> 
>   TypeError: Odd-length string

Also fixed last week, by Muli.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list