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

Side by Side Diff: recipe_modules/git/example.expected/basic_hash.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 18 matching lines...) Expand all
29 "checkout", 29 "checkout",
30 "-f", 30 "-f",
31 "abcdef0123456789abcdef0123456789abcdef01" 31 "abcdef0123456789abcdef0123456789abcdef01"
32 ], 32 ],
33 "cwd": "[SLAVE_BUILD]/src", 33 "cwd": "[SLAVE_BUILD]/src",
34 "name": "git checkout" 34 "name": "git checkout"
35 }, 35 },
36 { 36 {
37 "cmd": [ 37 "cmd": [
38 "git", 38 "git",
39 "rev-parse",
40 "HEAD"
41 ],
42 "cwd": "[SLAVE_BUILD]/src",
43 "name": "read revision",
44 "stdout": "/path/to/tmp/",
45 "~followup_annotations": [
46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
47 ]
48 },
49 {
50 "cmd": [
51 "git",
39 "clean", 52 "clean",
40 "-f", 53 "-f",
41 "-d", 54 "-d",
42 "-x" 55 "-x"
43 ], 56 ],
44 "cwd": "[SLAVE_BUILD]/src", 57 "cwd": "[SLAVE_BUILD]/src",
45 "name": "git clean" 58 "name": "git clean"
46 }, 59 },
47 { 60 {
48 "cmd": [ 61 "cmd": [
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 ], 168 ],
156 "cwd": "[SLAVE_BUILD]/src", 169 "cwd": "[SLAVE_BUILD]/src",
157 "name": "git bundle" 170 "name": "git bundle"
158 }, 171 },
159 { 172 {
160 "name": "$result", 173 "name": "$result",
161 "recipe_result": null, 174 "recipe_result": null,
162 "status_code": 0 175 "status_code": 0
163 } 176 }
164 ] 177 ]
OLDNEW
« no previous file with comments | « recipe_modules/git/example.expected/basic_file_name.json ('k') | recipe_modules/git/example.expected/basic_ref.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698