This is an archive of the discontinued Mercurial Phabricator instance.

serve: simply return instead of calling sys.exit() in `hg serve --stdio`
ClosedPublic

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

Details

Summary

The shouldn't be a reason to call sys.exit() instead of letting the
code return normally. I've remove the call in both hg serve and `hg
debugserve`.

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.