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 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 "", cb=VerifyPatch("patch1")), | 1131 "", cb=VerifyPatch("patch1")), |
1132 Cmd("git log -1 -p hash5", "patch5\n"), | 1132 Cmd("git log -1 -p hash5", "patch5\n"), |
1133 Cmd(("git apply --index --reject \"%s\"" % | 1133 Cmd(("git apply --index --reject \"%s\"" % |
1134 TEST_CONFIG["TEMPORARY_PATCH_FILE"]), | 1134 TEST_CONFIG["TEMPORARY_PATCH_FILE"]), |
1135 "", cb=VerifyPatch("patch5\n")), | 1135 "", cb=VerifyPatch("patch5\n")), |
1136 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""), | 1136 Cmd("git apply --index --reject \"%s\"" % extra_patch, ""), |
1137 RL("Y"), # Automatically increment patch level? | 1137 RL("Y"), # Automatically increment patch level? |
1138 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), | 1138 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""), |
1139 RL("reviewer@chromium.org"), # V8 reviewer. | 1139 RL("reviewer@chromium.org"), # V8 reviewer. |
1140 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " | 1140 Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" " |
1141 "--bypass-hooks", ""), | 1141 "--bypass-hooks -cc \"ulan@chromium.org\"", ""), |
1142 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), | 1142 Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""), |
1143 RL("LGTM"), # Enter LGTM for V8 CL. | 1143 RL("LGTM"), # Enter LGTM for V8 CL. |
1144 Cmd("git cl presubmit", "Presubmit successfull\n"), | 1144 Cmd("git cl presubmit", "Presubmit successfull\n"), |
1145 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", | 1145 Cmd("git cl dcommit -f --bypass-hooks", "Closing issue\n", |
1146 cb=VerifySVNCommit), | 1146 cb=VerifySVNCommit), |
1147 Cmd("git svn fetch", ""), | 1147 Cmd("git svn fetch", ""), |
1148 Cmd(("git log -1 --format=%%H --grep=\"%s\" svn/trunk" | 1148 Cmd(("git log -1 --format=%%H --grep=\"%s\" svn/trunk" |
1149 % msg.replace("\"", "\\\"")), "hash6"), | 1149 % msg.replace("\"", "\\\"")), "hash6"), |
1150 Cmd("git svn find-rev hash6", "1324"), | 1150 Cmd("git svn find-rev hash6", "1324"), |
1151 Cmd(("svn copy -r 1324 https://v8.googlecode.com/svn/trunk " | 1151 Cmd(("svn copy -r 1324 https://v8.googlecode.com/svn/trunk " |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 | 1540 |
1541 Review URL: https://codereview.chromium.org/83173002 | 1541 Review URL: https://codereview.chromium.org/83173002 |
1542 | 1542 |
1543 ------------------------------------------------------------------------""") | 1543 ------------------------------------------------------------------------""") |
1544 self.assertEquals( | 1544 self.assertEquals( |
1545 """Prepare push to trunk. Now working on version 3.23.11. | 1545 """Prepare push to trunk. Now working on version 3.23.11. |
1546 | 1546 |
1547 R=danno@chromium.org | 1547 R=danno@chromium.org |
1548 | 1548 |
1549 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1549 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |