1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:44:44 -07:00

codereview: do not send "Abanoned" mail if this CL has

not been mailed out for review.

R=r
CC=golang-dev
https://golang.org/cl/1962046
This commit is contained in:
Russ Cox 2010-08-12 14:58:38 -07:00
parent 10ae88f4ab
commit 7886318ca0

View File

@ -789,7 +789,7 @@ def change(ui, repo, *pats, **opts):
if opts["delete"]:
if cl.copied_from:
return "original author must delete CL; hg change -D will remove locally"
PostMessage(ui, cl.name, "*** Abandoned ***")
PostMessage(ui, cl.name, "*** Abandoned ***", send_mail=cl.mailed)
EditDesc(cl.name, closed="checked")
cl.Delete(ui, repo)
return