Chromium Code Reviews| Index: git_cl.py |
| diff --git a/git_cl.py b/git_cl.py |
| index 75b479664c1989ef053c8d283177e59985f897fe..82e9208632860decd8ad16c546eb57e433f6482e 100755 |
| --- a/git_cl.py |
| +++ b/git_cl.py |
| @@ -2303,6 +2303,9 @@ def CMDtry(parser, args): |
| parser.error('Need to upload first') |
| props = cl.GetIssueProperties() |
| + if props.get('closed'): |
| + parser.error('Cannot send tryjobs for a closed CL') |
| + |
| if props.get('private'): |
| parser.error('Cannot use trybots with private issue') |