aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command/init.py')
-rw-r--r--libbe/command/init.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/libbe/command/init.py b/libbe/command/init.py
index 7fdbdae..4e8bfc2 100644
--- a/libbe/command/init.py
+++ b/libbe/command/init.py
@@ -49,6 +49,10 @@ class Init (libbe.command.Command):
BE repository initialized.
>>> bd = libbe.bugdir.BugDir(vcs)
>>> vcs.disconnect()
+ >>> vcs.connect()
+ >>> bugdir = libbe.bugdir.BugDir(vcs, from_storage=True)
+ >>> bugdir.settings
+ >>> vcs.disconnect()
>>> vcs.destroy()
>>> dir.cleanup()
@@ -66,6 +70,10 @@ class Init (libbe.command.Command):
Using ... for revision control.
BE repository initialized.
>>> vcs.disconnect()
+ >>> vcs.connect()
+ >>> bugdir = libbe.bugdir.BugDir(vcs, from_storage=True)
+ >>> bugdir.settings
+ >>> vcs.disconnect()
>>> vcs.destroy()
>>> dir.cleanup()
"""
@@ -88,7 +96,6 @@ class Init (libbe.command.Command):
storage.init()
storage.connect()
bd = libbe.bugdir.BugDir(storage, from_storage=False)
- bd.save()
if bd.storage.name is not 'None':
print >> self.stdout, \
'Using %s for revision control.' % storage.name