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

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

Issue 618703002: Fix svn tags in release scripts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/common_includes.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 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 self.vc.CLLand() 213 self.vc.CLLand()
214 214
215 215
216 class TagRevision(Step): 216 class TagRevision(Step):
217 MESSAGE = "Create the tag." 217 MESSAGE = "Create the tag."
218 218
219 def RunStep(self): 219 def RunStep(self):
220 if self._options.revert_bleeding_edge: 220 if self._options.revert_bleeding_edge:
221 return 221 return
222 print "Creating tag svn/tags/%s" % self["version"] 222 print "Creating tag svn/tags/%s" % self["version"]
223 self.vc.Tag(self["version"]) 223 self.vc.Tag(self["version"], self.vc.RemoteBranch(self["merge_to_branch"]))
224 224
225 225
226 class CleanUp(Step): 226 class CleanUp(Step):
227 MESSAGE = "Cleanup." 227 MESSAGE = "Cleanup."
228 228
229 def RunStep(self): 229 def RunStep(self):
230 self.CommonCleanup() 230 self.CommonCleanup()
231 if not self._options.revert_bleeding_edge: 231 if not self._options.revert_bleeding_edge:
232 print "*** SUMMARY ***" 232 print "*** SUMMARY ***"
233 print "version: %s" % self["version"] 233 print "version: %s" % self["version"]
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 CommitLocal, 296 CommitLocal,
297 UploadStep, 297 UploadStep,
298 CommitRepository, 298 CommitRepository,
299 TagRevision, 299 TagRevision,
300 CleanUp, 300 CleanUp,
301 ] 301 ]
302 302
303 303
304 if __name__ == "__main__": # pragma: no cover 304 if __name__ == "__main__": # pragma: no cover
305 sys.exit(MergeToBranch().Run()) 305 sys.exit(MergeToBranch().Run())
OLDNEW
« no previous file with comments | « tools/push-to-trunk/common_includes.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