@@ -291,20 +291,19 @@ func (s service) GetDiff(_ context.Context, repo string, id uint64, opt *change. func (service) EditComment(_ context.Context, repo string, id uint64, cr change.CommentRequest) (change.Comment, error) { return change.Comment{}, fmt.Errorf("EditComment: not implemented") } // changeState converts a [golang.org/x/build/maintner.GerritCL.Status] to [change.State]. func changeState(status string) change.State { switch status { case "new": case "new", "draft": return change.OpenState case "abandoned": return change.ClosedState case "merged": return change.MergedState case "draft": panic("not sure how to deal with draft status") default: panic(fmt.Errorf("unrecognized status %q", status)) } }