Show More
@@ -283,6 +283,9 b' def create_server(ui, repo):' | |||||
283 | else: |
|
283 | else: | |
284 | handler = _hgwebhandler |
|
284 | handler = _hgwebhandler | |
285 |
|
285 | |||
|
286 | # ugly hack due to python issue5853 (for threaded use) | |||
|
287 | import mimetypes; mimetypes.init() | |||
|
288 | ||||
286 | try: |
|
289 | try: | |
287 | if use_ipv6: |
|
290 | if use_ipv6: | |
288 | return IPv6HTTPServer((address, port), handler) |
|
291 | return IPv6HTTPServer((address, port), handler) |
General Comments 0
You need to be logged in to leave comments.
Login now