##// END OF EJS Templates
blackbox: do not assume self._bb{vfs,repo,fp} are set in blackboxui.__init__...
Jun Wu -
r28552:999e1acc default
parent child Browse files
Show More
@@ -80,10 +80,10 b' def wrapui(ui):'
80 if src is None:
80 if src is None:
81 self._partialinit()
81 self._partialinit()
82 else:
82 else:
83 self._bbfp = src._bbfp
83 self._bbfp = getattr(src, '_bbfp', None)
84 self._bbinlog = False
84 self._bbinlog = False
85 self._bbrepo = src._bbrepo
85 self._bbrepo = getattr(src, '_bbrepo', None)
86 self._bbvfs = src._bbvfs
86 self._bbvfs = getattr(src, '_bbvfs', None)
87
87
88 def _partialinit(self):
88 def _partialinit(self):
89 if util.safehasattr(self, '_bbvfs'):
89 if util.safehasattr(self, '_bbvfs'):
General Comments 0
You need to be logged in to leave comments. Login now