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

Side by Side Diff: recipe_modules/git/example.expected/curl_trace_file.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 23 matching lines...) Expand all
34 "checkout", 34 "checkout",
35 "-f", 35 "-f",
36 "FETCH_HEAD" 36 "FETCH_HEAD"
37 ], 37 ],
38 "cwd": "[SLAVE_BUILD]/src", 38 "cwd": "[SLAVE_BUILD]/src",
39 "name": "git checkout" 39 "name": "git checkout"
40 }, 40 },
41 { 41 {
42 "cmd": [ 42 "cmd": [
43 "git", 43 "git",
44 "rev-parse",
45 "HEAD"
46 ],
47 "cwd": "[SLAVE_BUILD]/src",
48 "name": "read revision",
49 "stdout": "/path/to/tmp/",
50 "~followup_annotations": [
51 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
52 ]
53 },
54 {
55 "cmd": [
56 "git",
44 "clean", 57 "clean",
45 "-f", 58 "-f",
46 "-d", 59 "-d",
47 "-x" 60 "-x"
48 ], 61 ],
49 "cwd": "[SLAVE_BUILD]/src", 62 "cwd": "[SLAVE_BUILD]/src",
50 "name": "git clean" 63 "name": "git clean"
51 }, 64 },
52 { 65 {
53 "cmd": [ 66 "cmd": [
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 ], 173 ],
161 "cwd": "[SLAVE_BUILD]/src", 174 "cwd": "[SLAVE_BUILD]/src",
162 "name": "git bundle" 175 "name": "git bundle"
163 }, 176 },
164 { 177 {
165 "name": "$result", 178 "name": "$result",
166 "recipe_result": null, 179 "recipe_result": null,
167 "status_code": 0 180 "status_code": 0
168 } 181 }
169 ] 182 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698