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 b5c2e3b5..9946466d 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -341,10 +341,12 @@ to update the working directory files.
341 quiet=opt.quiet, 341 quiet=opt.quiet,
342 ) 342 )
343 except wrapper.CloneFailure: 343 except wrapper.CloneFailure:
344 err_msg = "fatal: double check your --repo-rev setting."
344 print( 345 print(
345 "fatal: double check your --repo-rev setting.", 346 err_msg,
346 file=sys.stderr, 347 file=sys.stderr,
347 ) 348 )
349 self.git_event_log.ErrorEvent(err_msg)
348 sys.exit(1) 350 sys.exit(1)
349 branch = rp.GetBranch("default") 351 branch = rp.GetBranch("default")
350 branch.merge = remote_ref 352 branch.merge = remote_ref