Yuya Nishihara wrote: >> - lastblackbox = blackbox >> + if not lastblackbox or util.safehasattr(self, '_bbopenerrepo'): >> + lastblackbox = blackbox > > Not sure why you've changed it. If the current blackbox doesn't have a working file handle, I don't want to step on the previous one.