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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 Cmd("git svn fetch", ""), | 853 Cmd("git svn fetch", ""), |
854 Cmd(("git log -1 --format=%H --grep=" | 854 Cmd(("git log -1 --format=%H --grep=" |
855 "\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " | 855 "\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " |
856 "svn/trunk"), "push_hash\n"), | 856 "svn/trunk"), "push_hash\n"), |
857 Cmd("git svn find-rev push_hash", "123455\n"), | 857 Cmd("git svn find-rev push_hash", "123455\n"), |
858 Cmd("git log -1 --format=%s push_hash", | 858 Cmd("git log -1 --format=%s push_hash", |
859 "Version 3.22.5 (based on bleeding_edge revision r123454)\n"), | 859 "Version 3.22.5 (based on bleeding_edge revision r123454)\n"), |
860 Cmd("git status -s -uno", ""), | 860 Cmd("git status -s -uno", ""), |
861 Cmd("git checkout -f master", ""), | 861 Cmd("git checkout -f master", ""), |
862 Cmd("gclient sync --nohooks", "syncing..."), | 862 Cmd("gclient sync --nohooks", "syncing..."), |
| 863 Cmd("git pull", ""), |
863 Cmd("git fetch origin", ""), | 864 Cmd("git fetch origin", ""), |
864 Cmd("git checkout -b v8-roll-123455", ""), | 865 Cmd("git checkout -b v8-roll-123455", ""), |
865 Cmd("roll-dep v8 123455", "rolled", cb=WriteDeps), | 866 Cmd("roll-dep v8 123455", "rolled", cb=WriteDeps), |
866 Cmd(("git commit -am \"Update V8 to version 3.22.5 " | 867 Cmd(("git commit -am \"Update V8 to version 3.22.5 " |
867 "(based on bleeding_edge revision r123454).\n\n" | 868 "(based on bleeding_edge revision r123454).\n\n" |
868 "Please reply to the V8 sheriff c_name@chromium.org in " | 869 "Please reply to the V8 sheriff c_name@chromium.org in " |
869 "case of problems.\n\nTBR=c_name@chromium.org\""), | 870 "case of problems.\n\nTBR=c_name@chromium.org\""), |
870 ""), | 871 ""), |
871 Cmd(("git cl upload --send-mail --email \"author@chromium.org\"%s" | 872 Cmd(("git cl upload --send-mail --email \"author@chromium.org\"%s" |
872 % force_flag), ""), | 873 % force_flag), ""), |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 | 1544 |
1544 Review URL: https://codereview.chromium.org/83173002 | 1545 Review URL: https://codereview.chromium.org/83173002 |
1545 | 1546 |
1546 ------------------------------------------------------------------------""") | 1547 ------------------------------------------------------------------------""") |
1547 self.assertEquals( | 1548 self.assertEquals( |
1548 """Prepare push to trunk. Now working on version 3.23.11. | 1549 """Prepare push to trunk. Now working on version 3.23.11. |
1549 | 1550 |
1550 R=danno@chromium.org | 1551 R=danno@chromium.org |
1551 | 1552 |
1552 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1553 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |