From 00f2105de85cd650532316e56f2db925ee497123 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Aug 2016 16:41:22 -0400 Subject: [PATCH] add repohooks to all groups Using the --groups option with repo init will restrict which repos are downloaded to only the specified ones. Unfortunately, the logic will always fire regardless of the selected group (and cannot be restricted), which means you'll get an error when trying to upload like: ERROR: Couldn't find repo hook: ".../tools/repohooks/pre-upload.py" Add the repohooks repo to every major active group so that it gets synced/checked out too. Hopefully this should cover most teams. Bug: 28295071 Test: `repo init -g adt-infra && repo sync` pulled down the repohooks repo Change-Id: If0295d7bbdd2840625fa79a76a5ecf11792a601a --- default.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.xml b/default.xml index c9579ee..6b1c60b 100644 --- a/default.xml +++ b/default.xml @@ -539,7 +539,7 @@ - +