Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: git_cl.py

Issue 1980323002: Fix git cl status for MERGED CLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index eaaed167aff5f4121c58a9aaf0814339ac337371..af8b0a859f1eeb64cec19e6f5525b074847955eb 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2138,7 +2138,7 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase):
except httplib.HTTPException:
return 'error'
- if data['status'] == 'ABANDONED':
+ if data['status'] in ('ABANDONED', 'MERGED'):
return 'closed'
cq_label = data['labels'].get('Commit-Queue', {})
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698