D3649: serve: add option print-url
Yuya Nishihara
yuya at tcha.org
Mon Jun 4 12:16:04 UTC 2018
On Mon, 4 Jun 2018 09:34:19 +0000, nspanti-logilab (Nicola Spanti) wrote:
> > It's surprising that `hg serve --print-url` spawns a daemon process!
>
> If it does not launch a daemon process, the procress caller (`xdg-open`, `midori`, `firefox`, etc.) waits the end of the stream to launch, so it waits that the `hg serve` procress ends!
You can just run `hg serve -d --print-url`.
The option could be named as `--daemon-print-url` if we needed such big
red switch, but I don't think that makes sense.
More information about the Mercurial-devel
mailing list