Mercurial > hg
comparison mercurial/demandimport.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 | 7e81305092a0 |
children | 65387a30430e |
comparison
equal
deleted
inserted
replaced
26472:406a654b41cb | 26473:5f94e64f182c |
---|