Commit 7886318c authored by Russ Cox's avatar Russ Cox

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
parent 10ae88f4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment