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

Unified Diff: appengine/findit/libs/gitiles/commit_util.py

Issue 2613153006: [Predator] Add TouchCrashedFileMetaFeature. (Closed)
Patch Set: Add comments. Created 3 years, 11 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 | « appengine/findit/crash/test/crash_util_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/libs/gitiles/commit_util.py
diff --git a/appengine/findit/libs/gitiles/commit_util.py b/appengine/findit/libs/gitiles/commit_util.py
index 437b73c2a68845cf626757dc27848c3ac0c951c4..c105d68d63420df0a9068e0273e34d4419b16f8e 100644
--- a/appengine/findit/libs/gitiles/commit_util.py
+++ b/appengine/findit/libs/gitiles/commit_util.py
@@ -71,6 +71,8 @@ def GetRevertedRevision(message):
return reverted_revision_match.group(1)
+# TODO(katesonia): Deprecate this copy (there is a copy in min_distance
+# feature), after scorer-based classfier got depecated.
def DistanceBetweenLineRanges((start1, end1), (start2, end2)):
"""Given two ranges, compute the (unsigned) distance between them.
« no previous file with comments | « appengine/findit/crash/test/crash_util_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698