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

Unified Diff: tools/push-to-trunk/push_to_trunk.py

Issue 141633003: Activate calling push-to-trunk in auto-roll script. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/push-to-trunk/common_includes.py ('k') | tools/push-to-trunk/test_scripts.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/push-to-trunk/push_to_trunk.py
diff --git a/tools/push-to-trunk/push_to_trunk.py b/tools/push-to-trunk/push_to_trunk.py
index d861009c7695d174dd0d85d88ec55331b48b3eae..06e277ee468c23b02ba2988722ac94657b244999 100755
--- a/tools/push-to-trunk/push_to_trunk.py
+++ b/tools/push-to-trunk/push_to_trunk.py
@@ -53,6 +53,20 @@ CONFIG = {
class PushToTrunkOptions(CommonOptions):
+ @staticmethod
+ def MakeForcedOptions(reviewer, chrome_path):
+ """Convenience wrapper."""
+ class Options(object):
+ pass
+ options = Options()
+ options.s = 0
+ options.l = None
+ options.f = True
+ options.m = False
+ options.r = reviewer
+ options.c = chrome_path
+ return PushToTrunkOptions(options)
+
def __init__(self, options):
super(PushToTrunkOptions, self).__init__(options, options.m)
self.requires_editor = not options.f
« no previous file with comments | « tools/push-to-trunk/common_includes.py ('k') | tools/push-to-trunk/test_scripts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698