( )⚙ D4772 wireprotov2: define type to represent pre-encoded object

This is an archive of the discontinued Mercurial Phabricator instance.

wireprotov2: define type to represent pre-encoded object
ClosedPublic

Authored by indygreg on Sep 26 2018, 9:09 PM.

Details

Summary

An upcoming commit will introduce a caching layer to command
serving. This will require the ability to cache pre-encoded data.

This commit introduces a type to represent pre-encoded data and
teaches the output layer to not CBOR encode an instance of that
type.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Sep 26 2018, 9:09 PM
This revision was automatically updated to reflect the committed changes.