comparison mercurial/smartset.py @ 45850:9534de20358f stable

chg: do not close dir fd while iterating It works so long as the dp is the last entry, but readdir(dp) would fail with EBADF. Let's not do that and close the dir fd explicitly.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 03 Nov 2020 11:15:50 +0900
parents 9f70512ae2cf
children d4ba4d51f85f
comparison
equal deleted inserted replaced
45849:731ea8fa1f11 45850:9534de20358f