diff mercurial/localrepo.py @ 26473:5f94e64f182c

lock: turn prepinherit/reacquire into a single context manager Review feedback from Pierre-Yves David. This makes the overall code cleaner and less error-prone, and makes a previously explicitly checked error state impossible.
author Siddharth Agarwal <sid0@fb.com>
date Sun, 04 Oct 2015 20:02:50 -0700
parents 406a654b41cb
children efd57cd6fd1d
line wrap: on
line diff