Mercurial > hg
comparison tests/test-bundle2-format.t @ 34282:3e92322d3b1f
tests: avoid repr in test-bundle2-format.t
We don't *really* need it here, and it was making Python 3 harder.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 18 Sep 2017 14:19:47 -0400 |
parents | c9eabc37bb98 |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
34281:c9eabc37bb98 | 34282:3e92322d3b1f |
---|---|
66 > if op.reply is None: | 66 > if op.reply is None: |
67 > op.ui.write(b'debugreply: no reply\n') | 67 > op.ui.write(b'debugreply: no reply\n') |
68 > else: | 68 > else: |
69 > op.ui.write(b'debugreply: capabilities:\n') | 69 > op.ui.write(b'debugreply: capabilities:\n') |
70 > for cap in sorted(op.reply.capabilities): | 70 > for cap in sorted(op.reply.capabilities): |
71 > op.ui.write(b'debugreply: %r\n' % cap) | 71 > op.ui.write(b"debugreply: '%s'\n" % cap) |
72 > for val in op.reply.capabilities[cap]: | 72 > for val in op.reply.capabilities[cap]: |
73 > op.ui.write(b'debugreply: %r\n' % val) | 73 > op.ui.write(b"debugreply: '%s'\n" % val) |
74 > | 74 > |
75 > @command(b'bundle2', | 75 > @command(b'bundle2', |
76 > [(b'', b'param', [], b'stream level parameter'), | 76 > [(b'', b'param', [], b'stream level parameter'), |
77 > (b'', b'unknown', False, b'include an unknown mandatory part in the bundle'), | 77 > (b'', b'unknown', False, b'include an unknown mandatory part in the bundle'), |
78 > (b'', b'unknownparams', False, b'include an unknown part parameters in the bundle'), | 78 > (b'', b'unknownparams', False, b'include an unknown part parameters in the bundle'), |