| 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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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", ""), |
| 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 tag 3.22.5.1 -m \"Tagging version 3.22.5.1\"", ""), |
| 1148 Cmd(("git log -1 --format=%%H --grep=\"%s\" svn/trunk" | |
| 1149 % msg.replace("\"", "\\\"")), "hash6"), | |
| 1150 Cmd("git svn find-rev hash6", "1324"), | |
| 1151 Cmd(("svn copy -r 1324 https://v8.googlecode.com/svn/trunk " | |
| 1152 "https://v8.googlecode.com/svn/tags/3.22.5.1 -m " | |
| 1153 "\"Tagging version 3.22.5.1\""), ""), | |
| 1154 Cmd("git checkout -f some_branch", ""), | 1148 Cmd("git checkout -f some_branch", ""), |
| 1155 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), | 1149 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), |
| 1156 ]) | 1150 ]) |
| 1157 | 1151 |
| 1158 # r12345 and r34567 are patches. r23456 (included) and r45678 are the MIPS | 1152 # r12345 and r34567 are patches. r23456 (included) and r45678 are the MIPS |
| 1159 # ports of r12345. r56789 is the MIPS port of r34567. | 1153 # ports of r12345. r56789 is the MIPS port of r34567. |
| 1160 args = ["-f", "-p", extra_patch, "--branch", "trunk", "12345", "23456", | 1154 args = ["-f", "-p", extra_patch, "--branch", "trunk", "12345", "23456", |
| 1161 "34567"] | 1155 "34567"] |
| 1162 | 1156 |
| 1163 # The first run of the script stops because of the svn being down. | 1157 # The first run of the script stops because of the svn being down. |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1540 | 1534 |
| 1541 Review URL: https://codereview.chromium.org/83173002 | 1535 Review URL: https://codereview.chromium.org/83173002 |
| 1542 | 1536 |
| 1543 ------------------------------------------------------------------------""") | 1537 ------------------------------------------------------------------------""") |
| 1544 self.assertEquals( | 1538 self.assertEquals( |
| 1545 """Prepare push to trunk. Now working on version 3.23.11. | 1539 """Prepare push to trunk. Now working on version 3.23.11. |
| 1546 | 1540 |
| 1547 R=danno@chromium.org | 1541 R=danno@chromium.org |
| 1548 | 1542 |
| 1549 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1543 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
| OLD | NEW |