| Index: recipe_modules/git/example.expected/basic_branch.json
|
| diff --git a/recipe_modules/git/example.expected/basic_branch.json b/recipe_modules/git/example.expected/basic_branch.json
|
| index 56fb11cdd0e2c14e320dd74a955e309c231c5547..793de60b39ef880e09f9dfe9e5bb0c665ba18c0f 100644
|
| --- a/recipe_modules/git/example.expected/basic_branch.json
|
| +++ b/recipe_modules/git/example.expected/basic_branch.json
|
| @@ -5,11 +5,10 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[SLAVE_BUILD]/src",
|
| + "[CWD]/src",
|
| "--url",
|
| "https://chromium.googlesource.com/chromium/src.git"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup"
|
| },
|
| {
|
| @@ -21,7 +20,7 @@
|
| "testing",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -31,7 +30,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git checkout"
|
| },
|
| {
|
| @@ -40,7 +39,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -55,7 +54,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -64,7 +63,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "submodule sync"
|
| },
|
| {
|
| @@ -75,7 +74,7 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "submodule update"
|
| },
|
| {
|
| @@ -86,7 +85,7 @@
|
| "count-objects",
|
| "-v"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "count-objects",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -97,7 +96,7 @@
|
| "--get",
|
| "remote.origin.url"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git config remote.origin.url",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -112,7 +111,7 @@
|
| "--format=%at",
|
| "-s"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git show",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -123,7 +122,7 @@
|
| "origin",
|
| "--tags"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git fetch tags"
|
| },
|
| {
|
| @@ -131,7 +130,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git status"
|
| },
|
| {
|
| @@ -139,7 +138,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git status can_fail_build"
|
| },
|
| {
|
| @@ -147,7 +146,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git status cannot_fail_build"
|
| },
|
| {
|
| @@ -156,7 +155,7 @@
|
| "rebase",
|
| "origin/master"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "my repo rebase"
|
| },
|
| {
|
| @@ -164,10 +163,10 @@
|
| "git",
|
| "bundle",
|
| "create",
|
| - "[SLAVE_BUILD]/all.bundle",
|
| + "[CWD]/all.bundle",
|
| "--all"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "git bundle"
|
| },
|
| {
|
|
|