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
diff --git a/git_cl.py b/git_cl.py
index c401f0e..fa04059 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1114,11 +1114,12 @@
"""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 @@
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