From c8afe57fdc1111bdf5f053c0f2a9f4c38599c6de Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 23 Jan 2010 10:05:00 -0500 Subject: Init should tell the UI about its connected storage and bugdir. --- libbe/command/init.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbe/command') 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 -- cgit