From aeab41a34141b913ee79532c2d53d9c6c365b6c2 Mon Sep 17 00:00:00 2001 From: "jsbell@chromium.org" Date: Tue, 10 Dec 2013 20:01:22 +0000 Subject: [PATCH] Add "in the commit queue" state to git cl status colors R=dpranke@chromium.org Review URL: https://codereview.chromium.org/94033007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@239830 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/git_cl.py b/git_cl.py index c401f0e76..fa04059d9 100755 --- a/git_cl.py +++ b/git_cl.py @@ -1114,11 +1114,12 @@ def CMDstatus(parser, args): """Show status of changelists. Colors are used to tell the state of the CL unless --fast is used: - - Green LGTM'ed - - Blue waiting for review - - Yellow waiting for you to reply to review - - Red not sent for review or broken - - Cyan was committed, branch can be deleted + - Red not sent for review or broken + - Blue waiting for review + - Yellow waiting for you to reply to review + - Green LGTM'ed + - Magenta in the commit queue + - Cyan was committed, branch can be deleted Also see 'git cl comments'. """ @@ -1185,6 +1186,9 @@ def CMDstatus(parser, args): elif props.get('closed'): # Issue is closed. color = Fore.CYAN + elif props.get('commit'): + # Issue is in the commit queue. + color = Fore.MAGENTA elif r: # Was LGTM'ed. color = Fore.GREEN