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 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.
  
  
  On reflection I agree, it's a little too magical that --print-url daemonizes. 
Let's get a follow-up that doesn't do that, especially since -d is so easy to 
type.
  
  (I'd probably often use --print-url without --daemon, FWIW)

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3649

To: nspanti-logilab, #hg-reviewers, durin42
Cc: admin, KelvinTot, av6, yuja, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to