changeset 5690 | 1b365c5723bc |
parent 5579 | e15f7db0f0ee |
child 5835 | bd34f0ac3cb0 |
5689:c2d0ed7f4af8 | 5690:1b365c5723bc |
---|---|
195 def create_server(ui, repo): |
195 def create_server(ui, repo): |
196 use_threads = True |
196 use_threads = True |
197 |
197 |
198 def openlog(opt, default): |
198 def openlog(opt, default): |
199 if opt and opt != '-': |
199 if opt and opt != '-': |
200 return open(opt, 'w') |
200 return open(opt, 'a') |
201 return default |
201 return default |
202 |
202 |
203 if repo is None: |
203 if repo is None: |
204 myui = ui |
204 myui = ui |
205 else: |
205 else: |