comparison tests/test-commandserver.t @ 40594:234c2d8c9e48

commandserver: send raw progress information to message channel This is pretty basic implementation to support GUI progress bar.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 04 Nov 2018 12:51:14 +0900
parents 6f0941f4a184
children 6d0fdeda43f7
comparison
equal deleted inserted replaced
40593:6f0941f4a184 40594:234c2d8c9e48
748 message-encoding: cbor 748 message-encoding: cbor
749 pid: * (glob) 749 pid: * (glob)
750 pgid: * (glob) 750 pgid: * (glob)
751 *** runcommand -R repo2 verify 751 *** runcommand -R repo2 verify
752 message: '\xa2DdataTchecking changesets\nDtypeFstatus' 752 message: '\xa2DdataTchecking changesets\nDtypeFstatus'
753 message: '\xa6Ditem@Cpos\xf6EtopicHcheckingEtotal\xf6DtypeHprogressDunit@'
753 message: '\xa2DdataSchecking manifests\nDtypeFstatus' 754 message: '\xa2DdataSchecking manifests\nDtypeFstatus'
755 message: '\xa6Ditem@Cpos\xf6EtopicHcheckingEtotal\xf6DtypeHprogressDunit@'
754 message: '\xa2DdataX0crosschecking files in changesets and manifests\nDtypeFstatus' 756 message: '\xa2DdataX0crosschecking files in changesets and manifests\nDtypeFstatus'
757 message: '\xa6Ditem@Cpos\xf6EtopicMcrosscheckingEtotal\xf6DtypeHprogressDunit@'
755 message: '\xa2DdataOchecking files\nDtypeFstatus' 758 message: '\xa2DdataOchecking files\nDtypeFstatus'
759 message: '\xa6Ditem@Cpos\xf6EtopicHcheckingEtotal\xf6DtypeHprogressDunit@'
756 message: '\xa2DdataX/checked 0 changesets with 0 changes to 0 files\nDtypeFstatus' 760 message: '\xa2DdataX/checked 0 changesets with 0 changes to 0 files\nDtypeFstatus'
757 761
758 >>> from hgclient import checkwith, readchannel, runcommand, stringio 762 >>> from hgclient import checkwith, readchannel, runcommand, stringio
759 >>> @checkwith(extraargs=[b'--config', b'ui.message-output=channel', 763 >>> @checkwith(extraargs=[b'--config', b'ui.message-output=channel',
760 ... b'--config', b'cmdserver.message-encodings=cbor', 764 ... b'--config', b'cmdserver.message-encodings=cbor',