This is an archive of the discontinued Mercurial Phabricator instance.

httpservice: move sys.exit() out of serve_forever()
ClosedPublic

Authored by martinvonz on Nov 3 2020, 11:44 PM.

Details

Summary

This is a simple refactoring to show the callers of the method, so
it's easier to reason about the impact of removing the sys.exit()
calls in subsequent patches.

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

martinvonz created this revision.Nov 3 2020, 11:44 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.