aboutsummaryrefslogtreecommitdiff
path: root/llvm_tools/patch_manager.py
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2020-01-27 14:40:54 -0800
committerandroid-build-merger <android-build-merger@google.com>2020-01-27 14:40:54 -0800
commitb6ed922ff73f31b13749595f02b62a849a904dcc (patch)
tree2ead2b1ce7a70c34fe8be06e45a40d9e2f6358d0 /llvm_tools/patch_manager.py
parenta66e8cb1c5844178a629218dbf16f110f290bde4 (diff)
parent554bca16f807f8c79fef4cf5eaa95ffbdefb8c13 (diff)
downloadtoolchain-utils-b6ed922ff73f31b13749595f02b62a849a904dcc.tar.gz
Merging 11 commit(s) from Chromium's toolchain-utils
am: 554bca16f8 Change-Id: Ifac5abf90b057163dd29b19483a1375f9b57bb48
Diffstat (limited to 'llvm_tools/patch_manager.py')
-rwxr-xr-xllvm_tools/patch_manager.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm_tools/patch_manager.py b/llvm_tools/patch_manager.py
index 910ecfc9..82a73ed8 100755
--- a/llvm_tools/patch_manager.py
+++ b/llvm_tools/patch_manager.py
@@ -8,17 +8,17 @@
from __future__ import print_function
-from collections import namedtuple
-from failure_modes import FailureModes
-from subprocess_helpers import check_call
-from subprocess_helpers import check_output
-
import argparse
import json
-import get_llvm_hash
import os
import subprocess
import sys
+from collections import namedtuple
+
+import get_llvm_hash
+from failure_modes import FailureModes
+from subprocess_helpers import check_call
+from subprocess_helpers import check_output
def is_directory(dir_path):
@@ -279,8 +279,6 @@ def UpdatePatchMetadataFile(patch_metadata_file, patches):
def GetCommitHashesForBisection(src_path, good_svn_version, bad_svn_version):
"""Gets the good and bad commit hashes required by `git bisect start`."""
- new_llvm_hash = LLVMHash()
-
bad_commit_hash = get_llvm_hash.GetGitHashFrom(src_path, bad_svn_version)
good_commit_hash = get_llvm_hash.GetGitHashFrom(src_path, good_svn_version)