Show More
@@ -369,7 +369,7 b' def _serverequest(ui, repo, conn, create' | |||||
369 | cerr = sv.cerr |
|
369 | cerr = sv.cerr | |
370 | else: |
|
370 | else: | |
371 | cerr = channeledoutput(fout, 'e') |
|
371 | cerr = channeledoutput(fout, 'e') | |
372 | traceback.print_exc(file=cerr) |
|
372 | cerr.write(encoding.strtolocal(traceback.format_exc())) | |
373 | raise |
|
373 | raise | |
374 | finally: |
|
374 | finally: | |
375 | fin.close() |
|
375 | fin.close() |
@@ -786,8 +786,9 b' unix domain socket:' | |||||
786 | ... while True: |
|
786 | ... while True: | |
787 | ... try: |
|
787 | ... try: | |
788 | ... ch, data = readchannel(conn) |
|
788 | ... ch, data = readchannel(conn) | |
789 |
... |
|
789 | ... for l in data.splitlines(True): | |
790 |
... |
|
790 | ... if not l.startswith(b' '): | |
|
791 | ... bprint(b'%c, %r' % (ch, l)) | |||
791 | ... except EOFError: |
|
792 | ... except EOFError: | |
792 | ... break |
|
793 | ... break | |
793 | >>> check(earlycrash, server.connect) |
|
794 | >>> check(earlycrash, server.connect) |
General Comments 0
You need to be logged in to leave comments.
Login now