aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/command/init.py2
1 files changed, 2 insertions, 0 deletions
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