From 7886318ca0cacf445ba0ba8969f744ae7442e540 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 12 Aug 2010 14:58:38 -0700 Subject: [PATCH] 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 --- lib/codereview/codereview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py index 509c8b6d406..0a5ef727fd2 100644 --- a/lib/codereview/codereview.py +++ b/lib/codereview/codereview.py @@ -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