This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: convert an assert to a ProgrammingError
ClosedPublic

Authored by indygreg on Mar 16 2018, 3:15 PM.

Details

Summary

Because assert may get optimized away.

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.Mar 16 2018, 3:15 PM
pulkit accepted this revision.Mar 17 2018, 2:06 PM
This revision was automatically updated to reflect the committed changes.