Mercurial > hg
comparison mercurial/mpatch.c @ 28552:999e1acc61aa
blackbox: do not assume self._bb{vfs,repo,fp} are set in blackboxui.__init__
It's possible for the blackboxui code to do a "del self._bbvfs", then ui.copy()
or similar attempt will fail. It will also fail when constructing a blackboxui
from a non-blackbox ui.
This patch fixes the issue by not assuming any _bb* attr is set.
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 15 Mar 2016 10:36:02 +0000 |
parents | 09e41ac6289d |
children | b6ed2505d6cf |
comparison
equal
deleted
inserted
replaced
28551:8e5312f8df30 | 28552:999e1acc61aa |
---|