| Index: tools/auto_bisect/bisect_perf_regression.py
|
| diff --git a/tools/auto_bisect/bisect_perf_regression.py b/tools/auto_bisect/bisect_perf_regression.py
|
| index bbea80cbb132432e7a6c1ae259377b6a8bac030d..9ad918924306f85c55c02a278a99ee0733ada635 100755
|
| --- a/tools/auto_bisect/bisect_perf_regression.py
|
| +++ b/tools/auto_bisect/bisect_perf_regression.py
|
| @@ -1901,6 +1901,10 @@ class BisectPerformanceMetrics(object):
|
| cwd = self.depot_registry.GetDepotDir(target_depot)
|
| good_position = source_control.GetCommitPosition(good_revision, cwd)
|
| bad_position = source_control.GetCommitPosition(bad_revision, cwd)
|
| + # Compare commit timestamp for repos that don't support commit position.
|
| + if not (bad_position and good_position):
|
| + good_position = source_control.GetCommitTime(good_revision, cwd=cwd)
|
| + bad_position = source_control.GetCommitTime(bad_revision, cwd=cwd)
|
|
|
| return good_position <= bad_position
|
|
|
|
|