summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/init.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/subcmds/init.py b/subcmds/init.py
index 9396f3c0..55497d82 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -180,8 +180,10 @@ to update the working directory files.
180 if is_new: 180 if is_new:
181 m.config.SetString('repo.mirror', 'true') 181 m.config.SetString('repo.mirror', 'true')
182 else: 182 else:
183 print('fatal: --mirror not supported on existing client', 183 print('fatal: --mirror is only supported when initializing a new '
184 file=sys.stderr) 184 'workspace.', file=sys.stderr)
185 print('Either delete the .repo folder in this workspace, or initialize '
186 'in another location.', file=sys.stderr)
185 sys.exit(1) 187 sys.exit(1)
186 188
187 if not m.Sync_NetworkHalf(is_new=is_new): 189 if not m.Sync_NetworkHalf(is_new=is_new):