diff --git a/hgext/blackbox.py b/hgext/blackbox.py --- a/hgext/blackbox.py +++ b/hgext/blackbox.py @@ -77,20 +77,10 @@ class blackboxui(ui.__class__): def __init__(self, src=None): super(blackboxui, self).__init__(src) - if src is None: - self._partialinit() - else: - self._bbinlog = False - self._bbrepo = getattr(src, '_bbrepo', None) - - def _partialinit(self): - if self._bbvfs: - return self._bbinlog = False - self._bbrepo = None + self._bbrepo = getattr(src, '_bbrepo', None) def copy(self): - self._partialinit() return self.__class__(self) @property @@ -140,7 +130,6 @@ def log(self, event, *msg, **opts): global lastui super(blackboxui, self).log(event, *msg, **opts) - self._partialinit() if not '*' in self.track and not event in self.track: return