mercurial/commands.py
changeset 38282 1a05e205832a
parent 38280 2ec44160165d
child 38315 79dcaad9d145
equal deleted inserted replaced
38281:1d6066336d7b 38282:1a05e205832a
  4852     opts = pycompat.byteskwargs(opts)
  4852     opts = pycompat.byteskwargs(opts)
  4853     if opts["stdio"] and opts["cmdserver"]:
  4853     if opts["stdio"] and opts["cmdserver"]:
  4854         raise error.Abort(_("cannot use --stdio with --cmdserver"))
  4854         raise error.Abort(_("cannot use --stdio with --cmdserver"))
  4855     if opts["print_url"] and ui.verbose:
  4855     if opts["print_url"] and ui.verbose:
  4856         raise error.Abort(_("cannot use --print-url with --verbose"))
  4856         raise error.Abort(_("cannot use --print-url with --verbose"))
  4857     if opts["print_url"]:
       
  4858         opts['daemon'] = True
       
  4859 
  4857 
  4860     if opts["stdio"]:
  4858     if opts["stdio"]:
  4861         if repo is None:
  4859         if repo is None:
  4862             raise error.RepoError(_("there is no Mercurial repository here"
  4860             raise error.RepoError(_("there is no Mercurial repository here"
  4863                                     " (.hg not found)"))
  4861                                     " (.hg not found)"))