projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331a641
)
Init should tell the UI about its connected storage and bugdir.
author
W. Trevor King
<wking@drexel.edu>
Sat, 23 Jan 2010 15:05:00 +0000
(10:05 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 23 Jan 2010 15:05:00 +0000
(10:05 -0500)
libbe/command/init.py
patch
|
blob
|
history
diff --git
a/libbe/command/init.py
b/libbe/command/init.py
index 4821000609beed90e64495636c72b40942ef2a86..7b836451d3fd862c4241373cd95b11fa84881029 100644
(file)
--- 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