This is an archive of the discontinued Mercurial Phabricator instance.

wireprotov2: change frame type value for command data
ClosedPublic

Authored by indygreg on Apr 14 2018, 8:21 PM.

Details

Summary

When we dropped the dedicated command argument frame type, this left
a hole in our frame type numbering. Let's start plugging that hole.

The command data frame is now type value 2 instead of 3.

There was limited test fallout because a) we do a good job of using
the constants to refer to frame types b) not many tests are sending
command data frames.

Bumping the media type will be performed in a later commit, once all
type value adjustment has been performed.

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.Apr 14 2018, 8:21 PM
durin42 accepted this revision.Apr 16 2018, 6:52 PM
This revision is now accepted and ready to land.Apr 16 2018, 6:52 PM
This revision was automatically updated to reflect the committed changes.