Show More
@@ -32,9 +32,6 from .node import ( | |||
|
32 | 32 | nullrev, |
|
33 | 33 | short, |
|
34 | 34 | ) |
|
35 | from .thirdparty import ( | |
|
36 | cbor, | |
|
37 | ) | |
|
38 | 35 | from . import ( |
|
39 | 36 | bundle2, |
|
40 | 37 | changegroup, |
@@ -83,6 +80,7 from . import ( | |||
|
83 | 80 | wireprotov2peer, |
|
84 | 81 | ) |
|
85 | 82 | from .utils import ( |
|
83 | cborutil, | |
|
86 | 84 | dateutil, |
|
87 | 85 | procutil, |
|
88 | 86 | stringutil, |
@@ -3321,7 +3319,8 def debugwireproto(ui, repo, path=None, | |||
|
3321 | 3319 | |
|
3322 | 3320 | if res.headers.get('Content-Type') == 'application/mercurial-cbor': |
|
3323 | 3321 | ui.write(_('cbor> %s\n') % |
|
3324 |
stringutil.pprint(cbor. |
|
|
3322 | stringutil.pprint(cborutil.decodeall(body)[0], | |
|
3323 | bprefix=True, | |
|
3325 | 3324 | indent=2)) |
|
3326 | 3325 | |
|
3327 | 3326 | elif action == 'close': |
General Comments 0
You need to be logged in to leave comments.
Login now