This is an archive of the discontinued Mercurial Phabricator instance.

bisect: replace try:/finally: by a "restore_state" context manager
ClosedPublic

Authored by dlax on Nov 15 2019, 5:13 AM.

Details

Summary

This should help pytype to not consider "bgood" variable as NameError.
See https://phab.mercurial-scm.org/D7384 for context.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

dlax created this revision.Nov 15 2019, 5:13 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.