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

Side by Side Diff: recipe_modules/git/example.expected/basic_ref.json

Issue 1693993002: Make git.checkout return the commit hash. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
7 "--path", 7 "--path",
8 "[SLAVE_BUILD]/src", 8 "[SLAVE_BUILD]/src",
9 "--url", 9 "--url",
10 "https://chromium.googlesource.com/chromium/src.git" 10 "https://chromium.googlesource.com/chromium/src.git"
(...skipping 19 matching lines...) Expand all
30 "checkout", 30 "checkout",
31 "-f", 31 "-f",
32 "FETCH_HEAD" 32 "FETCH_HEAD"
33 ], 33 ],
34 "cwd": "[SLAVE_BUILD]/src", 34 "cwd": "[SLAVE_BUILD]/src",
35 "name": "git checkout" 35 "name": "git checkout"
36 }, 36 },
37 { 37 {
38 "cmd": [ 38 "cmd": [
39 "git", 39 "git",
40 "rev-parse",
41 "HEAD"
42 ],
43 "cwd": "[SLAVE_BUILD]/src",
44 "name": "read revision",
45 "stdout": "/path/to/tmp/",
46 "~followup_annotations": [
47 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
48 ]
49 },
50 {
51 "cmd": [
52 "git",
40 "clean", 53 "clean",
41 "-f", 54 "-f",
42 "-d", 55 "-d",
43 "-x" 56 "-x"
44 ], 57 ],
45 "cwd": "[SLAVE_BUILD]/src", 58 "cwd": "[SLAVE_BUILD]/src",
46 "name": "git clean" 59 "name": "git clean"
47 }, 60 },
48 { 61 {
49 "cmd": [ 62 "cmd": [
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 ], 169 ],
157 "cwd": "[SLAVE_BUILD]/src", 170 "cwd": "[SLAVE_BUILD]/src",
158 "name": "git bundle" 171 "name": "git bundle"
159 }, 172 },
160 { 173 {
161 "name": "$result", 174 "name": "$result",
162 "recipe_result": null, 175 "recipe_result": null,
163 "status_code": 0 176 "status_code": 0
164 } 177 }
165 ] 178 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698