mirror of
https://github.com/golang/go
synced 2024-11-24 22:00:09 -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:
parent
10ae88f4ab
commit
7886318ca0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user