mirror of https://github.com/golang/go.git
lib/codereview: fix doc/go1.*.txt exception
LGTM=r R=r CC=golang-codereviews https://golang.org/cl/108950046
This commit is contained in:
parent
3a6de21ae1
commit
32d8b9ffb8
|
|
@ -1954,7 +1954,7 @@ def submit(ui, repo, *pats, **opts):
|
||||||
if cl.cc:
|
if cl.cc:
|
||||||
about += "CC=" + JoinComma([CutDomain(s) for s in cl.cc]) + "\n"
|
about += "CC=" + JoinComma([CutDomain(s) for s in cl.cc]) + "\n"
|
||||||
|
|
||||||
if not cl.reviewer:
|
if not cl.reviewer and needLGTM(cl):
|
||||||
raise hg_util.Abort("no reviewers listed in CL")
|
raise hg_util.Abort("no reviewers listed in CL")
|
||||||
|
|
||||||
if not cl.local:
|
if not cl.local:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue