Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: tools/push-to-trunk/test_scripts.py

Issue 535073002: Correctly overwrite author in chromium roll script. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/push-to-trunk/git_recipes.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 Cmd("git status -s -uno", ""), 835 Cmd("git status -s -uno", ""),
836 Cmd("git checkout -f master", ""), 836 Cmd("git checkout -f master", ""),
837 Cmd("gclient sync --nohooks", "syncing..."), 837 Cmd("gclient sync --nohooks", "syncing..."),
838 Cmd("git pull", ""), 838 Cmd("git pull", ""),
839 Cmd("git fetch origin", ""), 839 Cmd("git fetch origin", ""),
840 Cmd("git checkout -b v8-roll-123455", ""), 840 Cmd("git checkout -b v8-roll-123455", ""),
841 Cmd("roll-dep v8 123455", "rolled", cb=WriteDeps), 841 Cmd("roll-dep v8 123455", "rolled", cb=WriteDeps),
842 Cmd(("git commit -am \"Update V8 to version 3.22.5 " 842 Cmd(("git commit -am \"Update V8 to version 3.22.5 "
843 "(based on bleeding_edge revision r123454).\n\n" 843 "(based on bleeding_edge revision r123454).\n\n"
844 "Please reply to the V8 sheriff c_name@chromium.org in " 844 "Please reply to the V8 sheriff c_name@chromium.org in "
845 "case of problems.\n\nTBR=c_name@chromium.org\""), 845 "case of problems.\n\nTBR=c_name@chromium.org\" "
846 "--author \"author@chromium.org <author@chromium.org>\""),
846 ""), 847 ""),
847 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f", ""), 848 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f", ""),
848 ] 849 ]
849 self.Expect(expectations) 850 self.Expect(expectations)
850 851
851 args = ["-a", "author@chromium.org", "-c", TEST_CONFIG[CHROMIUM], 852 args = ["-a", "author@chromium.org", "-c", TEST_CONFIG[CHROMIUM],
852 "--sheriff", "--googlers-mapping", googlers_mapping_py, 853 "--sheriff", "--googlers-mapping", googlers_mapping_py,
853 "-r", "reviewer@chromium.org"] 854 "-r", "reviewer@chromium.org"]
854 ChromiumRoll(TEST_CONFIG, self).Run(args) 855 ChromiumRoll(TEST_CONFIG, self).Run(args)
855 856
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 1472
1472 Review URL: https://codereview.chromium.org/83173002 1473 Review URL: https://codereview.chromium.org/83173002
1473 1474
1474 ------------------------------------------------------------------------""") 1475 ------------------------------------------------------------------------""")
1475 self.assertEquals( 1476 self.assertEquals(
1476 """Prepare push to trunk. Now working on version 3.23.11. 1477 """Prepare push to trunk. Now working on version 3.23.11.
1477 1478
1478 R=danno@chromium.org 1479 R=danno@chromium.org
1479 1480
1480 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1481 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/push-to-trunk/git_recipes.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698