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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 Git("status -s -b -uno", "## some_branch\n"), | 847 Git("status -s -b -uno", "## some_branch\n"), |
848 Git("svn fetch", ""), | 848 Git("svn fetch", ""), |
849 Git(("log -1 --format=%H --grep=" | 849 Git(("log -1 --format=%H --grep=" |
850 "\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " | 850 "\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " |
851 "svn/trunk"), "push_hash\n"), | 851 "svn/trunk"), "push_hash\n"), |
852 Git("svn find-rev push_hash", "123455\n"), | 852 Git("svn find-rev push_hash", "123455\n"), |
853 Git("log -1 --format=%s push_hash", | 853 Git("log -1 --format=%s push_hash", |
854 "Version 3.22.5 (based on bleeding_edge revision r123454)\n"), | 854 "Version 3.22.5 (based on bleeding_edge revision r123454)\n"), |
855 Git("status -s -uno", ""), | 855 Git("status -s -uno", ""), |
856 Git("checkout -f master", ""), | 856 Git("checkout -f master", ""), |
857 Git("sync --no-hooks", "syncing..."), | 857 Git("sync --nohooks", "syncing..."), |
858 Git("checkout -b v8-roll-123455", ""), | 858 Git("checkout -b v8-roll-123455", ""), |
859 Git("v8 123455", "rolled", cb=WriteDeps), | 859 Git("v8 123455", "rolled", cb=WriteDeps), |
860 Git(("commit -am \"Update V8 to version 3.22.5 " | 860 Git(("commit -am \"Update V8 to version 3.22.5 " |
861 "(based on bleeding_edge revision r123454).\n\n" | 861 "(based on bleeding_edge revision r123454).\n\n" |
862 "Please reply to the V8 sheriff c_name@chromium.org in " | 862 "Please reply to the V8 sheriff c_name@chromium.org in " |
863 "case of problems.\n\nTBR=c_name@chromium.org\""), | 863 "case of problems.\n\nTBR=c_name@chromium.org\""), |
864 ""), | 864 ""), |
865 Git(("cl upload --send-mail --email \"author@chromium.org\"%s" | 865 Git(("cl upload --send-mail --email \"author@chromium.org\"%s" |
866 % force_flag), ""), | 866 % force_flag), ""), |
867 ]) | 867 ]) |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 | 1524 |
1525 Review URL: https://codereview.chromium.org/83173002 | 1525 Review URL: https://codereview.chromium.org/83173002 |
1526 | 1526 |
1527 ------------------------------------------------------------------------""") | 1527 ------------------------------------------------------------------------""") |
1528 self.assertEquals( | 1528 self.assertEquals( |
1529 """Prepare push to trunk. Now working on version 3.23.11. | 1529 """Prepare push to trunk. Now working on version 3.23.11. |
1530 | 1530 |
1531 R=danno@chromium.org | 1531 R=danno@chromium.org |
1532 | 1532 |
1533 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1533 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |