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

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

Issue 223863003: Make auto-roll script also roll patched trunk revisions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/common_includes.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 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import os 7 import os
8 import sys 8 import sys
9 9
10 from common_includes import * 10 from common_includes import *
(...skipping 12 matching lines...) Expand all
23 MESSAGE = "Preparation." 23 MESSAGE = "Preparation."
24 24
25 def RunStep(self): 25 def RunStep(self):
26 self.CommonPrepare() 26 self.CommonPrepare()
27 27
28 28
29 class DetectLastPush(Step): 29 class DetectLastPush(Step):
30 MESSAGE = "Detect commit ID of last push to trunk." 30 MESSAGE = "Detect commit ID of last push to trunk."
31 31
32 def RunStep(self): 32 def RunStep(self):
33 self["last_push"] = self._options.last_push or self.FindLastTrunkPush() 33 self["last_push"] = self._options.last_push or self.FindLastTrunkPush(
34 include_patches=True)
34 self["trunk_revision"] = self.GitSVNFindSVNRev(self["last_push"]) 35 self["trunk_revision"] = self.GitSVNFindSVNRev(self["last_push"])
35 self["push_title"] = self.GitLog(n=1, format="%s", 36 self["push_title"] = self.GitLog(n=1, format="%s",
36 git_hash=self["last_push"]) 37 git_hash=self["last_push"])
37 38
38 39
39 class CheckChromium(Step): 40 class CheckChromium(Step):
40 MESSAGE = "Ask for chromium checkout." 41 MESSAGE = "Ask for chromium checkout."
41 42
42 def Run(self): 43 def Run(self):
43 self["chrome_path"] = self._options.chromium 44 self["chrome_path"] = self._options.chromium
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 SwitchChromium, 162 SwitchChromium,
162 UpdateChromiumCheckout, 163 UpdateChromiumCheckout,
163 UploadCL, 164 UploadCL,
164 SwitchV8, 165 SwitchV8,
165 CleanUp, 166 CleanUp,
166 ] 167 ]
167 168
168 169
169 if __name__ == "__main__": # pragma: no cover 170 if __name__ == "__main__": # pragma: no cover
170 sys.exit(ChromiumRoll(CONFIG).Run()) 171 sys.exit(ChromiumRoll(CONFIG).Run())
OLDNEW
« no previous file with comments | « tools/push-to-trunk/auto_roll.py ('k') | tools/push-to-trunk/common_includes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698