Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: recipe_modules/git/example.expected/git-cache-checkout.json

Issue 2209383002: git: fix git cache support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/git/api.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/git/example.expected/git-cache-checkout.json
diff --git a/recipe_modules/git/example.expected/git-cache-checkout.json b/recipe_modules/git/example.expected/git-cache-checkout.json
index fb712ddce00bfac9c6ab9d3827b85fed591284f1..068c33d8bb12bbe22614267419f7ef14d90a4f29 100644
--- a/recipe_modules/git/example.expected/git-cache-checkout.json
+++ b/recipe_modules/git/example.expected/git-cache-checkout.json
@@ -16,15 +16,47 @@
"git",
"retry",
"cache",
- "fetch",
+ "populate",
"-c",
- "[GIT_CACHE]"
+ "[GIT_CACHE]",
+ "https://chromium.googlesource.com/chromium/src.git"
+ ],
+ "cwd": "[SLAVE_BUILD]/src",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
+ },
+ "name": "populate cache"
+ },
+ {
+ "cmd": [
+ "git",
+ "cache",
+ "exists",
+ "--quiet",
+ "--cache-dir",
+ "[GIT_CACHE]",
+ "https://chromium.googlesource.com/chromium/src.git"
+ ],
+ "cwd": "[SLAVE_BUILD]/src",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
+ },
+ "name": "git cache",
+ "stdout": "/path/to/tmp/"
+ },
+ {
+ "cmd": [
+ "git",
+ "remote",
+ "set-url",
+ "origin",
+ "mirror_dir"
],
"cwd": "[SLAVE_BUILD]/src",
"env": {
"PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
},
- "name": "fetch cache"
+ "name": "git remote"
},
{
"cmd": [
« no previous file with comments | « recipe_modules/git/api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698