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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.