diff mercurial/commands.py @ 38294:1a05e205832a

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
author Yuya Nishihara <yuya@tcha.org>
date Fri, 08 Jun 2018 23:32:33 +0900
parents 2ec44160165d
children 79dcaad9d145
line wrap: on
line diff
--- 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: