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

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

Issue 607893004: Add tag write access to merge script. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review. 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 | « no previous file | 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 sys 7 import sys
8 8
9 from common_includes import * 9 from common_includes import *
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 print "Tagging revision %s with %s" % (lkgr_svn, self["candidate_version"]) 146 print "Tagging revision %s with %s" % (lkgr_svn, self["candidate_version"])
147 147
148 148
149 class MakeTag(Step): 149 class MakeTag(Step):
150 MESSAGE = "Tag the version." 150 MESSAGE = "Tag the version."
151 151
152 def RunStep(self): 152 def RunStep(self):
153 if not self._options.dry_run: 153 if not self._options.dry_run:
154 self.GitReset(self["lkgr"]) 154 self.GitReset(self["lkgr"])
155 # FIXME(machenbach): Make this work with the git repo. 155 # FIXME(machenbach): Make this work with the git repo.
156 self.vc.Tag(self["candidate_version"], "svn/bleeding_edge") 156 self.vc.Tag(self["candidate_version"],
157 "svn/bleeding_edge",
158 "This won't work!")
157 159
158 160
159 class CleanUp(Step): 161 class CleanUp(Step):
160 MESSAGE = "Clean up." 162 MESSAGE = "Clean up."
161 163
162 def RunStep(self): 164 def RunStep(self):
163 self.CommonCleanup() 165 self.CommonCleanup()
164 166
165 167
166 class AutoTag(ScriptsBase): 168 class AutoTag(ScriptsBase):
(...skipping 23 matching lines...) Expand all
190 GetOldestUntaggedVersion, 192 GetOldestUntaggedVersion,
191 GetLKGRs, 193 GetLKGRs,
192 CalculateTagRevision, 194 CalculateTagRevision,
193 MakeTag, 195 MakeTag,
194 CleanUp, 196 CleanUp,
195 ] 197 ]
196 198
197 199
198 if __name__ == "__main__": # pragma: no cover 200 if __name__ == "__main__": # pragma: no cover
199 sys.exit(AutoTag().Run()) 201 sys.exit(AutoTag().Run())
OLDNEW
« no previous file with comments | « no previous file | tools/push-to-trunk/common_includes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698