-
- Downloads
wireprotov2: change behavior of error frame
Now that we have a leading CBOR map in command response frames to indicate overall command result status, we don't need to use the error response frame to represent command errors. Instead, we can reserve it for protocol and server level errors. And for the special case of a command error that occurred after command response frames were emitted. The code for error handling still needs a ton of work. But we're slowly going in the right direction... Differential Revision: https://phab.mercurial-scm.org/D3386
Showing
- mercurial/help/internals/wireprotocol.txt 33 additions, 12 deletionsmercurial/help/internals/wireprotocol.txt
- mercurial/wireprotoframing.py 24 additions, 19 deletionsmercurial/wireprotoframing.py
- mercurial/wireprotov2server.py 1 addition, 1 deletionmercurial/wireprotov2server.py
- tests/test-wireproto-serverreactor.py 5 additions, 3 deletionstests/test-wireproto-serverreactor.py
Loading
Please register or sign in to comment