From: W. Trevor King Date: Sat, 23 Jan 2010 15:05:00 +0000 (-0500) Subject: Init should tell the UI about its connected storage and bugdir. X-Git-Tag: 1.0.0~59^2~44^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8afe57fdc1111bdf5f053c0f2a9f4c38599c6de;p=be.git Init should tell the UI about its connected storage and bugdir. --- diff --git a/libbe/command/init.py b/libbe/command/init.py index 4821000..7b83645 100644 --- a/libbe/command/init.py +++ b/libbe/command/init.py @@ -93,7 +93,9 @@ class Init (libbe.command.Command): pass storage.init() storage.connect() + self.ui.storage_callbacks.set_storage(storage) bd = libbe.bugdir.BugDir(storage, from_storage=False) + self.ui.storage_callbacks.set_bugdir(bd) if bd.storage.name is not 'None': print >> self.stdout, \ 'Using %s for revision control.' % storage.name