durin42 added a comment.
In https://phab.mercurial-scm.org/D3649#57906, @yuja wrote:
> (resend because I forgot to remove the Phab shit, sorry for the noise.)
>
> > > It's surprising that `hg serve --print-url` spawns a daemon process!
> >
> > If it does not launch a daemon
av6 added a comment.
In https://phab.mercurial-scm.org/D3649#57901, @nspanti-logilab wrote:
> Could you describe tests that you would like?
For example, some that check that url is correct and is printed on stdout and
not stderr, maybe also that it is printed when --port is
(resend because I forgot to remove the Phab shit, sorry for the noise.)
> > 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,
yuja added a comment.
(resend because I forgot to remove the Phab shit, sorry for the noise.)
> > 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
On Mon, 4 Jun 2018 09:34:19 +, 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
nspanti-logilab added a comment.
In https://phab.mercurial-scm.org/D3649#57835, @yuja 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
KelvinTot added a comment.
Приветствую! Класный у вас сайт!
Нашёл интересное для дач и не только: [b] [b] мебельный щит сосна 20 мм [/b]
[url=http://www.ekolestnica.ru/]http://www.ekolestnica.ru/[/url]
Тут: https://www.ekolestnica.ru/lestnicy-ivanovo.html лестницы в иваново
купить
av6 added a comment.
Merits another patch with some simple tests.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3649
To: nspanti-logilab, #hg-reviewers, durin42
Cc: av6, yuja, mercurial-devel
___
Mercurial-devel
yuja added a comment.
> ('t', 'templates', '', _('web templates to use'), _('TEMPLATE')),
> ('', 'style', '', _('template style to use'), _('STYLE')),
> ('6', 'ipv6', None, _('use IPv6 in addition to IPv4')),
>
> - ('', 'certificate', '', _('SSL certificate file'), _('FILE'))] +
> ('t', 'templates', '', _('web templates to use'), _('TEMPLATE')),
> ('', 'style', '', _('template style to use'), _('STYLE')),
> ('6', 'ipv6', None, _('use IPv6 in addition to IPv4')),
> -('', 'certificate', '', _('SSL certificate file'), _('FILE'))]
> +('', 'certificate',
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGaea29e81753a: serve: add option print-url (authored by
nspanti-logilab, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D3649?vs=8880=8945#toc
REPOSITORY
rHG Mercurial
nspanti-logilab created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
It can be used to open hgweb in a web browser. Example :
xdg-open "`hg serve --print-url`".
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
12 matches
Mail list logo