Show More
@@ -3324,7 +3324,8 b' def debugwireproto(ui, repo, path=None, ' | |||||
3324 | getattr(e, 'read', lambda: None)() |
|
3324 | getattr(e, 'read', lambda: None)() | |
3325 | continue |
|
3325 | continue | |
3326 |
|
3326 | |||
3327 |
|
|
3327 | ct = res.headers.get(r'Content-Type') | |
|
3328 | if ct == r'application/mercurial-cbor': | |||
3328 | ui.write(_('cbor> %s\n') % |
|
3329 | ui.write(_('cbor> %s\n') % | |
3329 | stringutil.pprint(cborutil.decodeall(body)[0], |
|
3330 | stringutil.pprint(cborutil.decodeall(body)[0], | |
3330 | bprefix=True, |
|
3331 | bprefix=True, |
General Comments 0
You need to be logged in to leave comments.
Login now