mercurial/server.py
changeset 32331 bd872f64a8ba
parent 32005 2406dbba49bd
child 32563 3f0936b2cea9
equal deleted inserted replaced
32330:2959c3e986e0 32331:bd872f64a8ba
   121 def _createhgwebservice(ui, repo, opts):
   121 def _createhgwebservice(ui, repo, opts):
   122     # this way we can check if something was given in the command-line
   122     # this way we can check if something was given in the command-line
   123     if opts.get('port'):
   123     if opts.get('port'):
   124         opts['port'] = util.getport(opts.get('port'))
   124         opts['port'] = util.getport(opts.get('port'))
   125 
   125 
   126     alluis = set([ui])
   126     alluis = {ui}
   127     if repo:
   127     if repo:
   128         baseui = repo.baseui
   128         baseui = repo.baseui
   129         alluis.update([repo.baseui, repo.ui])
   129         alluis.update([repo.baseui, repo.ui])
   130     else:
   130     else:
   131         baseui = ui
   131         baseui = ui