Possible bug, bzrlib.initialize(setup_ui=False) is broken

Zygmunt Krynicki zygmunt.krynicki at canonical.com
Mon Jun 20 10:25:17 UTC 2011


W dniu 20.06.2011 12:09, John Meinel pisze:
> I'm guessing it is just a bug. I know it was recently changed in the 2.4
> series to call __enter__ for you, which it did not do in the past. I'm
> guessing the setup_ui=False path was just not tested.

Yup. I think the same.

A possible fix would involve not passing None as ui factory and instead 
just using bzrlib.ui.ui_factory which conveniently defaults to 
SilentUIFactory

Best regards
ZK




More information about the bazaar mailing list