tests/logexceptions.py
changeset 36075 8de90e006c78
parent 35201 bd8875b6473c
child 43076 2372284d9457
equal deleted inserted replaced
36074:788b2e8530ae 36075:8de90e006c78
    63         parts = [
    63         parts = [
    64             str(exc_value),
    64             str(exc_value),
    65             primaryframe,
    65             primaryframe,
    66             hgframe,
    66             hgframe,
    67             hgline,
    67             hgline,
       
    68             ui.environ[b'TESTNAME'].decode('utf-8', 'replace'),
    68         ]
    69         ]
    69         fh.write(b'\0'.join(p.encode('utf-8', 'replace') for p in parts))
    70         fh.write(b'\0'.join(p.encode('utf-8', 'replace') for p in parts))
    70 
    71 
    71 def extsetup(ui):
    72 def extsetup(ui):
    72     extensions.wrapfunction(dispatch, 'handlecommandexception',
    73     extensions.wrapfunction(dispatch, 'handlecommandexception',