( )⚙ D5468 narrow: replace "ui.warn(); return 1" by "raise error.Abort()"

This is an archive of the discontinued Mercurial Phabricator instance.

narrow: replace "ui.warn(); return 1" by "raise error.Abort()"
ClosedPublic

Authored by martinvonz on Dec 20 2018, 1:11 PM.

Details

Summary

This is the usual way of doing it and I don't see a reason to do it
differently here.

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.