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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 Git("svn fetch", "fetch result\n"), | 734 Git("svn fetch", "fetch result\n"), |
735 Git("checkout -f svn/bleeding_edge", ""), | 735 Git("checkout -f svn/bleeding_edge", ""), |
736 Git(("log -1 --format=%H --grep=\"Prepare push to trunk. " | 736 Git(("log -1 --format=%H --grep=\"Prepare push to trunk. " |
737 "Now working on version 3.22.6.\""), | 737 "Now working on version 3.22.6.\""), |
738 "hash1\n"), | 738 "hash1\n"), |
739 Git("diff svn/trunk hash1", "patch content\n"), | 739 Git("diff svn/trunk hash1", "patch content\n"), |
740 Git("svn find-rev hash1", "123455\n"), | 740 Git("svn find-rev hash1", "123455\n"), |
741 Git("checkout -b %s svn/trunk" % TEST_CONFIG[TRUNKBRANCH], "", | 741 Git("checkout -b %s svn/trunk" % TEST_CONFIG[TRUNKBRANCH], "", |
742 cb=ResetChangeLog), | 742 cb=ResetChangeLog), |
743 Git("apply --index --reject \"%s\"" % TEST_CONFIG[PATCH_FILE], ""), | 743 Git("apply --index --reject \"%s\"" % TEST_CONFIG[PATCH_FILE], ""), |
744 Git("checkout -f -- %s" % TEST_CONFIG[CHANGELOG_FILE], "", | 744 Git("checkout -f svn/trunk -- %s" % TEST_CONFIG[CHANGELOG_FILE], "", |
745 cb=ResetChangeLog), | 745 cb=ResetChangeLog), |
746 Git("add \"%s\"" % TEST_CONFIG[VERSION_FILE], ""), | 746 Git("add \"%s\"" % TEST_CONFIG[VERSION_FILE], ""), |
747 Git("commit -aF \"%s\"" % TEST_CONFIG[COMMITMSG_FILE], "", | 747 Git("commit -aF \"%s\"" % TEST_CONFIG[COMMITMSG_FILE], "", |
748 cb=CheckSVNCommit), | 748 cb=CheckSVNCommit), |
749 Git("svn dcommit 2>&1", "Some output\nCommitted r123456\nSome output\n"), | 749 Git("svn dcommit 2>&1", "Some output\nCommitted r123456\nSome output\n"), |
750 Git("svn tag 3.22.5 -m \"Tagging version 3.22.5\"", ""), | 750 Git("svn tag 3.22.5 -m \"Tagging version 3.22.5\"", ""), |
751 Git("status -s -uno", ""), | 751 Git("status -s -uno", ""), |
752 Git("checkout -f master", ""), | 752 Git("checkout -f master", ""), |
753 Git("pull", ""), | 753 Git("pull", ""), |
754 Git("checkout -b v8-roll-123456", ""), | 754 Git("checkout -b v8-roll-123456", ""), |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 | 1042 |
1043 Review URL: https://codereview.chromium.org/83173002 | 1043 Review URL: https://codereview.chromium.org/83173002 |
1044 | 1044 |
1045 ------------------------------------------------------------------------""") | 1045 ------------------------------------------------------------------------""") |
1046 self.assertEquals( | 1046 self.assertEquals( |
1047 """Prepare push to trunk. Now working on version 3.23.11. | 1047 """Prepare push to trunk. Now working on version 3.23.11. |
1048 | 1048 |
1049 R=danno@chromium.org | 1049 R=danno@chromium.org |
1050 | 1050 |
1051 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1051 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |