[how can I pull from hg serve?]
Scott Palmer
swpalmer at gmail.com
Sun Feb 26 14:32:53 UTC 2023
> On Feb 26, 2023, at 5:14 AM, Uwe Brauer <oub at mat.ucm.es> wrote:
>
>
>>
>>>> "UB" == Uwe Brauer <oub at mat.ucm.es> writes:
>
>> I tried out a very simple thing:
>
>> in a repository I run hg serve
>> well I can open with a browser
>> to http://name of my_machine:8000
>
>> The documentation claims this is for pulling,
>
>> «Mercurial has a built-in light-weight web server which can be used for
>> browsing a repository with a web browser or for allowing remote machines
>> to pull from you. To use it, simply run:»
>
>> Now
>
>> 1. But even on my own machine how can I pull? hg pull
>> http://name of my_machine:8000
>> Does not work!
>
> I does, sorry I made a mistake
>
>> 2. How can I change the setting to have the my IP number instead the
>> name of my machine?
>
>
> That one is still mysterious to me.
There is nothing to change. If you use the IP address of your machine to pull it will just work. That is after all what the machine name maps to anyway. It’s all an IP address in the end.
Scott
More information about the Mercurial
mailing list