Index: fetch_configs/infra.py |
diff --git a/fetch_configs/infra.py b/fetch_configs/infra.py |
index 12e5c9646a766632dffe6dc2fd4378a2bba9366c..29681b21b9c07dffeed2e3f879546ff9b541cacc 100644 |
--- a/fetch_configs/infra.py |
+++ b/fetch_configs/infra.py |
@@ -13,7 +13,9 @@ class Infra(config_util.Config): |
"""Basic Config class for the Infrastructure repositories.""" |
@staticmethod |
- def fetch_spec(_props): |
+ def fetch_spec(props): |
+ # This is used by [depot_tools]/testing_support/local_rietveld.py |
+ managed = props.get('managed', 'false').lower() == 'true' |
return { |
'type': 'gclient_git', |
'gclient_git_spec': { |
@@ -22,7 +24,7 @@ class Infra(config_util.Config): |
'name' : 'infra', |
'url' : 'https://chromium.googlesource.com/infra/infra.git', |
'deps_file': '.DEPS.git', |
- 'managed' : False, |
+ 'managed' : managed, |
} |
], |
}, |