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