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

Unified Diff: tools/findit/match_set.py

Issue 617073010: [Findit] Add timestamp of CL commit and fix two bugs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « tools/findit/git_repository_parser.py ('k') | tools/findit/result.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/findit/match_set.py
diff --git a/tools/findit/match_set.py b/tools/findit/match_set.py
index cdb2c8c8e113d31440138e77eb73f49f44731b21..52114b8c2bb4c8d7a494325d83cd054d7a8cd100 100644
--- a/tools/findit/match_set.py
+++ b/tools/findit/match_set.py
@@ -39,6 +39,7 @@ class Match(object):
review_url: The codereview URL that reviews this CL.
reviewers: The list of people that reviewed this CL.
reason: The reason why this CL is suspected.
+ time: When this CL was committed.
"""
REVERT_PATTERN = re.compile(r'(revert\w*) r?(\d+)', re.I)
@@ -60,6 +61,7 @@ class Match(object):
self.review_url = ''
self.reviewers = []
self.reason = None
+ self.time = revision['time']
def ParseMessage(self, message, codereview_api_url):
"""Parses the message.
« no previous file with comments | « tools/findit/git_repository_parser.py ('k') | tools/findit/result.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698