equal
deleted
inserted
replaced
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 |