aboutsummaryrefslogtreecommitdiff
path: root/llvm_tools/patch_sync/Cargo.lock
diff options
context:
space:
mode:
authorJordan R Abrahams <ajordanr@google.com>2022-01-21 19:08:51 +0000
committerCommit Bot <commit-bot@chromium.org>2022-01-25 18:25:05 +0000
commit8b206a483bcf832f12854567ff0ac9e174aae75a (patch)
tree8dccb1053855688807208aa1bab76d6ede91b965 /llvm_tools/patch_sync/Cargo.lock
parent86d317a4fdb5f603df849b7056815db5ebe30804 (diff)
downloadtoolchain-utils-8b206a483bcf832f12854567ff0ac9e174aae75a.tar.gz
patch_sync: Conduct unconditional cleanup
After any sort of modification, we have to conduct a full cleanup of the workspace. While it's still possible to have a panic cause no cleanup, this is an improvement over the previous work, where cleanup could fail during the transpose stage. Also add a --wip mode to prevent spamming people with emails during testing. BUG=b:209493133 TEST=Running patch_sync transpose locally Change-Id: I01e8a5897ec8eeed8f90c528c567b2ba55613b23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3407914 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com>
Diffstat (limited to 'llvm_tools/patch_sync/Cargo.lock')
-rw-r--r--llvm_tools/patch_sync/Cargo.lock7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm_tools/patch_sync/Cargo.lock b/llvm_tools/patch_sync/Cargo.lock
index 63a9fcf8..62db2220 100644
--- a/llvm_tools/patch_sync/Cargo.lock
+++ b/llvm_tools/patch_sync/Cargo.lock
@@ -167,6 +167,7 @@ dependencies = [
"anyhow",
"rand",
"regex",
+ "scopeguard",
"serde",
"serde_json",
"sha2",
@@ -286,6 +287,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f"
[[package]]
+name = "scopeguard"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+[[package]]
name = "serde"
version = "1.0.132"
source = "registry+https://github.com/rust-lang/crates.io-index"