comparison mercurial/extensions.py @ 40450:41f0529b5112 stable

commandserver: get around ETIMEDOUT raised by selectors2 selector.select() should exits with an empty event list on timed out, but selectors2 raises OSError if timeout expires while recovering from EINTR. Spotted while debugging new chg feature.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Dec 2018 21:45:15 +0900
parents 1ab185c78cc3
children 09a37a5d8f5d
comparison
equal deleted inserted replaced
40449:d1bda397df73 40450:41f0529b5112