diff mercurial/archival.py @ 43665:f37da59a36d9

bisect: replace try:/finally: by a "restore_state" context manager This should help pytype to not consider "bgood" variable as NameError. See https://phab.mercurial-scm.org/D7384 for context. Differential Revision: https://phab.mercurial-scm.org/D7430
author Denis Laxalde <denis.laxalde@logilab.fr>
date Thu, 14 Nov 2019 10:47:04 +0100
parents 9f70512ae2cf
children e786d69c665d 6c36a521572e
line wrap: on
line diff