From 7dc148fe3ca0df5a010cfb3b2fcaa9ea2b48e92d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 20 Feb 2024 23:27:51 +0000 Subject: [PATCH] repo: do not update citc depot_tools This shouldn't really happen, but who knows what users might (accidentally) try to do. Change-Id: Ic968f133693532a816b9bd3c8c5b97cba3261bc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5309411 Auto-Submit: Mike Frysinger Reviewed-by: Sergey Frolov Commit-Queue: Sergey Frolov --- repo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repo b/repo index 9f8357d87d..6e47ca4318 100755 --- a/repo +++ b/repo @@ -31,6 +31,8 @@ def _UpdateDepotTools(): while path != path.parent: if (path / '.repo').is_dir() and (path / 'chromite').is_dir(): return + if (path / '.citc').is_dir(): + return path = path.parent if UPDATE_DEPOT_TOOLS.exists():