| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 the V8 project authors. All rights reserved. | 2 # Copyright 2013 the V8 project authors. All rights reserved. |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following | 10 # copyright notice, this list of conditions and the following |
| (...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 Cmd("git fetch origin", "", cwd=chrome_v8_dir), | 1313 Cmd("git fetch origin", "", cwd=chrome_v8_dir), |
| 1314 Cmd("git log --format=%H --grep=\"V8\"", "c_hash1\nc_hash2\nc_hash3\n", | 1314 Cmd("git log --format=%H --grep=\"V8\"", "c_hash1\nc_hash2\nc_hash3\n", |
| 1315 cwd=chrome_dir), | 1315 cwd=chrome_dir), |
| 1316 Cmd("git diff --name-only c_hash1 c_hash1^", "", cwd=chrome_dir), | 1316 Cmd("git diff --name-only c_hash1 c_hash1^", "", cwd=chrome_dir), |
| 1317 Cmd("git diff --name-only c_hash2 c_hash2^", "DEPS", cwd=chrome_dir), | 1317 Cmd("git diff --name-only c_hash2 c_hash2^", "DEPS", cwd=chrome_dir), |
| 1318 Cmd("git checkout -f c_hash2 -- DEPS", "", | 1318 Cmd("git checkout -f c_hash2 -- DEPS", "", |
| 1319 cb=ResetDEPS("0123456789012345678901234567890123456789"), | 1319 cb=ResetDEPS("0123456789012345678901234567890123456789"), |
| 1320 cwd=chrome_dir), | 1320 cwd=chrome_dir), |
| 1321 Cmd("git log -1 --format=%B c_hash2", c_hash2_commit_log, | 1321 Cmd("git log -1 --format=%B c_hash2", c_hash2_commit_log, |
| 1322 cwd=chrome_dir), | 1322 cwd=chrome_dir), |
| 1323 Cmd("git rev-list -n 1 0123456789012345678901234567890123456789", | |
| 1324 "0123456789012345678901234567890123456789", cwd=chrome_v8_dir), | |
| 1325 Cmd("git log -1 --format=%B 0123456789012345678901234567890123456789", | 1323 Cmd("git log -1 --format=%B 0123456789012345678901234567890123456789", |
| 1326 self.C_V8_22624_LOG, cwd=chrome_v8_dir), | 1324 self.C_V8_22624_LOG, cwd=chrome_v8_dir), |
| 1327 Cmd("git diff --name-only c_hash3 c_hash3^", "DEPS", cwd=chrome_dir), | 1325 Cmd("git diff --name-only c_hash3 c_hash3^", "DEPS", cwd=chrome_dir), |
| 1328 Cmd("git checkout -f c_hash3 -- DEPS", "", cb=ResetDEPS(345), | 1326 Cmd("git checkout -f c_hash3 -- DEPS", "", cb=ResetDEPS(345), |
| 1329 cwd=chrome_dir), | 1327 cwd=chrome_dir), |
| 1330 Cmd("git log -1 --format=%B c_hash3", c_hash3_commit_log, | 1328 Cmd("git log -1 --format=%B c_hash3", c_hash3_commit_log, |
| 1331 cwd=chrome_dir), | 1329 cwd=chrome_dir), |
| 1332 Cmd("git checkout -f HEAD -- DEPS", "", cb=ResetDEPS(567), | 1330 Cmd("git checkout -f HEAD -- DEPS", "", cb=ResetDEPS(567), |
| 1333 cwd=chrome_dir), | 1331 cwd=chrome_dir), |
| 1334 Cmd("git branch -r", " weird/123\n branch-heads/7\n", cwd=chrome_dir), | 1332 Cmd("git branch -r", " weird/123\n branch-heads/7\n", cwd=chrome_dir), |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1507 | 1505 |
| 1508 Review URL: https://codereview.chromium.org/83173002 | 1506 Review URL: https://codereview.chromium.org/83173002 |
| 1509 | 1507 |
| 1510 ------------------------------------------------------------------------""") | 1508 ------------------------------------------------------------------------""") |
| 1511 self.assertEquals( | 1509 self.assertEquals( |
| 1512 """Prepare push to trunk. Now working on version 3.23.11. | 1510 """Prepare push to trunk. Now working on version 3.23.11. |
| 1513 | 1511 |
| 1514 R=danno@chromium.org | 1512 R=danno@chromium.org |
| 1515 | 1513 |
| 1516 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1514 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
| OLD | NEW |