This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: don't compress errors from getbundle()
ClosedPublic

Authored by indygreg on Jan 20 2018, 7:44 PM.

Details

Summary

Errors should be small. There's no real need to compress them.
Truth be told, there's no good reason to not compress them either.
But leaving them uncompressed makes it easier to test failures
by looking at the raw HTTP response. This makes it easier for us
to write tests. It may make it easier for people writing their
own clients.

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.Jan 20 2018, 7:44 PM
lothiraldan accepted this revision.Jan 22 2018, 10:44 AM
durin42 accepted this revision.Jan 22 2018, 3:00 PM
This revision is now accepted and ready to land.Jan 22 2018, 3:00 PM
This revision was automatically updated to reflect the committed changes.