sys.exit(1)
if not opts.foreground and opts.push_master:
- print "Unable to push to master when not running in foreground."
- sys.exit(1)
+ print "Pushing to master, forcing run in foreground."
+ opts.foreground = True
if not opts.remote_repo:
print "%s$ mktemp -d" % opts.host
remote_args.append("--pushto=%s" % opts.pushto)
if opts.push_master:
remote_args.append("--push-master")
+if opts.fail_slowly:
+ remote_args.append("--fail-slowly")
remote_args += extra_args
print "%s$ %s" % (opts.host, " ".join(remote_args))