Patchwork D3703: serve: do not daemonize by default by --print-url

login
register
mail settings
Submitter phabricator
Date June 12, 2018, 5:50 p.m.
Message ID <2922ea33b50b434d090f94e09f854e4c@localhost.localdomain>
Download mbox | patch
Permalink /patch/32090/
State Not Applicable
Headers show

Comments

phabricator - June 12, 2018, 5:50 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1a05e205832a: serve: do not daemonize by default by --print-url (authored by yuja, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3703?vs=8999&id=9028

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: yuja, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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: