| Index: recipe_modules/git/example.expected/basic_submodule_update_force.json
|
| diff --git a/recipe_modules/git/example.expected/basic_submodule_update_force.json b/recipe_modules/git/example.expected/basic_submodule_update_force.json
|
| index dc3e2bc4bdf2decbe1fb15f88fd5e56c8ab03ebc..f19168b55e07da07941a37029fe41d9e66ea07ba 100644
|
| --- a/recipe_modules/git/example.expected/basic_submodule_update_force.json
|
| +++ b/recipe_modules/git/example.expected/basic_submodule_update_force.json
|
| @@ -5,10 +5,11 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[CWD]/src",
|
| + "[SLAVE_BUILD]/src",
|
| "--url",
|
| "https://chromium.googlesource.com/chromium/src.git"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup"
|
| },
|
| {
|
| @@ -20,7 +21,7 @@
|
| "master",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -30,7 +31,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git checkout"
|
| },
|
| {
|
| @@ -39,7 +40,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -54,7 +55,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -63,7 +64,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "submodule sync"
|
| },
|
| {
|
| @@ -75,7 +76,7 @@
|
| "--recursive",
|
| "--force"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "submodule update"
|
| },
|
| {
|
| @@ -86,7 +87,7 @@
|
| "count-objects",
|
| "-v"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "count-objects",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -97,7 +98,7 @@
|
| "--get",
|
| "remote.origin.url"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git config remote.origin.url",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -112,7 +113,7 @@
|
| "--format=%at",
|
| "-s"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git show",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -123,7 +124,7 @@
|
| "origin",
|
| "--tags"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git fetch tags"
|
| },
|
| {
|
| @@ -131,7 +132,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status"
|
| },
|
| {
|
| @@ -139,7 +140,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status can_fail_build"
|
| },
|
| {
|
| @@ -147,7 +148,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status cannot_fail_build"
|
| },
|
| {
|
| @@ -156,7 +157,7 @@
|
| "rebase",
|
| "origin/master"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "my repo rebase"
|
| },
|
| {
|
| @@ -164,10 +165,10 @@
|
| "git",
|
| "bundle",
|
| "create",
|
| - "[CWD]/all.bundle",
|
| + "[SLAVE_BUILD]/all.bundle",
|
| "--all"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git bundle"
|
| },
|
| {
|
|
|