serve: do not daemonize by default by --print-url
Per discussion in D3649, -d/--daemon should be explicitly specified to avoid
surprising result.
Differential Revision: https://phab.mercurial-scm.org/D3703
--- a/mercurial/commands.py Thu Jun 07 16:19:18 2018 -0700
+++ b/mercurial/commands.py Fri Jun 08 23:32:33 2018 +0900
@@ -4854,8 +4854,6 @@
raise error.Abort(_("cannot use --stdio with --cmdserver"))
if opts["print_url"] and ui.verbose:
raise error.Abort(_("cannot use --print-url with --verbose"))
- if opts["print_url"]:
- opts['daemon'] = True
if opts["stdio"]:
if repo is None: