// send mails the current branch out for review. func (review *review) send() error { if err := review.ensureChangeID(); err != nil { return err } if err := gerrit.Push(review.jirix.NewSeq(), review.CLOpts); err != nil { return gerritError(err.Error()) } return nil }
// send mails the current branch out for review. func (review *review) send() error { if !review.ctx.DryRun() { if err := review.ensureChangeID(); err != nil { return err } } if err := gerrit.Push(review.ctx.Run(), review.CLOpts); err != nil { return gerritError(err.Error()) } return nil }