| Index: recipe_modules/git/example.expected/remote_not_origin.json
|
| diff --git a/recipe_modules/git/example.expected/remote_not_origin.json b/recipe_modules/git/example.expected/remote_not_origin.json
|
| index 407acd60e20813487e591015ff52adb77b8b2f1e..f1b6f2eb60151e109b07f1ee75017fad9cb01817 100644
|
| --- a/recipe_modules/git/example.expected/remote_not_origin.json
|
| +++ b/recipe_modules/git/example.expected/remote_not_origin.json
|
| @@ -5,7 +5,7 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[CWD]/src",
|
| + "[SLAVE_BUILD]/src",
|
| "--url",
|
| "https://chromium.googlesource.com/chromium/src.git",
|
| "--remote",
|
| @@ -23,7 +23,7 @@
|
| "master",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -33,7 +33,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git checkout"
|
| },
|
| {
|
| @@ -42,7 +42,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -57,7 +57,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -66,7 +66,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "submodule sync"
|
| },
|
| {
|
| @@ -77,7 +77,7 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "submodule update"
|
| },
|
| {
|
| @@ -88,7 +88,7 @@
|
| "count-objects",
|
| "-v"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "count-objects",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -99,7 +99,7 @@
|
| "--get",
|
| "remote.origin.url"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git config remote.origin.url",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -114,7 +114,7 @@
|
| "--format=%at",
|
| "-s"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git show",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -125,7 +125,7 @@
|
| "not_origin",
|
| "--tags"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git fetch tags"
|
| },
|
| {
|
| @@ -133,7 +133,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status"
|
| },
|
| {
|
| @@ -141,7 +141,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status can_fail_build"
|
| },
|
| {
|
| @@ -149,7 +149,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status cannot_fail_build"
|
| },
|
| {
|
| @@ -158,7 +158,7 @@
|
| "rebase",
|
| "not_origin/master"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "my repo rebase"
|
| },
|
| {
|
| @@ -166,10 +166,10 @@
|
| "git",
|
| "bundle",
|
| "create",
|
| - "[CWD]/all.bundle",
|
| + "[SLAVE_BUILD]/all.bundle",
|
| "--all"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git bundle"
|
| },
|
| {
|
|
|