# HG changeset patch # User Yuya Nishihara # Date 1528468353 -32400 # Node ID 1a05e205832a929374c010b2dc6a1c65a60186a3 # Parent 1d6066336d7bfcc7e070357dd30b75271933e419 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 diff -r 1d6066336d7b -r 1a05e205832a mercurial/commands.py --- 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: