This is an archive of the discontinued Mercurial Phabricator instance.

wireprotoserver: move error response handling out of hgweb
ClosedPublic

Authored by indygreg on Feb 2 2018, 8:50 PM.

Details

Summary

The exception handler for ErrorResponse has more to do with the
wire protocol than the generic HTTP server. Move the code so it
lives alongside other wire protocol code.

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.Feb 2 2018, 8:50 PM
durin42 accepted this revision.Feb 7 2018, 5:18 PM
This revision is now accepted and ready to land.Feb 7 2018, 5:18 PM
This revision was automatically updated to reflect the committed changes.