summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/init.py')
-rw-r--r--subcmds/init.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/subcmds/init.py b/subcmds/init.py
index d86c49ae..a32eaae0 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -131,7 +131,9 @@ default.xml will be used.
131 131
132 m.Sync_LocalHalf() 132 m.Sync_LocalHalf()
133 if is_new or m.CurrentBranch is None: 133 if is_new or m.CurrentBranch is None:
134 m.StartBranch('default') 134 if not m.StartBranch('default'):
135 print >>sys.stderr, 'fatal: cannot create default in manifest'
136 sys.exit(1)
135 137
136 def _LinkManifest(self, name): 138 def _LinkManifest(self, name):
137 if not name: 139 if not name: