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

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

Issue 157543002: A64: Synchronize with r18581. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/auto_roll.py ('k') | tools/push-to-trunk/push_to_trunk.py » ('j') | 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 def GetDate(self): 209 def GetDate(self):
210 return datetime.date.today().strftime("%Y-%m-%d") 210 return datetime.date.today().strftime("%Y-%m-%d")
211 211
212 DEFAULT_SIDE_EFFECT_HANDLER = SideEffectHandler() 212 DEFAULT_SIDE_EFFECT_HANDLER = SideEffectHandler()
213 213
214 214
215 class NoRetryException(Exception): 215 class NoRetryException(Exception):
216 pass 216 pass
217 217
218
218 class CommonOptions(object): 219 class CommonOptions(object):
219 def __init__(self, options, manual=True): 220 def __init__(self, options, manual=True):
220 self.requires_editor = True 221 self.requires_editor = True
221 self.wait_for_lgtm = True 222 self.wait_for_lgtm = True
222 self.s = options.s 223 self.s = options.s
223 self.force_readline_defaults = not manual 224 self.force_readline_defaults = not manual
224 self.force_upload = not manual 225 self.force_upload = not manual
225 self.manual = manual 226 self.manual = manual
226 227
227 228
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 options, 498 options,
498 side_effect_handler=DEFAULT_SIDE_EFFECT_HANDLER): 499 side_effect_handler=DEFAULT_SIDE_EFFECT_HANDLER):
499 state = {} 500 state = {}
500 steps = [] 501 steps = []
501 for (number, step_class) in enumerate(step_classes): 502 for (number, step_class) in enumerate(step_classes):
502 steps.append(MakeStep(step_class, number, state, config, 503 steps.append(MakeStep(step_class, number, state, config,
503 options, side_effect_handler)) 504 options, side_effect_handler))
504 505
505 for step in steps[options.s:]: 506 for step in steps[options.s:]:
506 step.Run() 507 step.Run()
OLDNEW
« no previous file with comments | « tools/push-to-trunk/auto_roll.py ('k') | tools/push-to-trunk/push_to_trunk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698