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

Unified Diff: cros_mark_as_stable.py

Issue 5154008: Add ability to rev and build a chrome from cbuildbot (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Stuffs Created 10 years, 1 month 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
« bin/cros_mark_chrome_as_stable.py ('K') | « bin/cros_mark_chrome_as_stable.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_mark_as_stable.py
diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py
index 6c4a6fa51a7cb0448ace4a91ec795d028d825a31..232efc67bc18889d548ddb940aed9925fdf4db33 100755
--- a/cros_mark_as_stable.py
+++ b/cros_mark_as_stable.py
@@ -30,8 +30,6 @@ gflags.DEFINE_string('overlays', '',
gflags.DEFINE_string('packages', '',
'Colon-separated list of packages to mark as stable.',
short_name='p')
-gflags.DEFINE_string('push_options', '',
- 'Options to use with git-cl push using push command.')
gflags.DEFINE_string('srcroot', '%s/trunk/src' % os.environ['HOME'],
'Path to root src directory.',
short_name='r')
@@ -57,7 +55,7 @@ COMMAND_DICTIONARY = {
}
# Name used for stabilizing branch.
-_STABLE_BRANCH_NAME = 'stabilizing_branch'
+STABLE_BRANCH_NAME = 'stabilizing_branch'
def BestEBuild(ebuilds):
@@ -542,9 +540,9 @@ def main(argv):
if command == 'clean':
Clean(gflags.FLAGS.tracking_branch)
elif command == 'push':
- PushChange(_STABLE_BRANCH_NAME, gflags.FLAGS.tracking_branch)
+ PushChange(STABLE_BRANCH_NAME, gflags.FLAGS.tracking_branch)
elif command == 'commit' and ebuilds:
- work_branch = GitBranch(_STABLE_BRANCH_NAME, gflags.FLAGS.tracking_branch)
+ work_branch = GitBranch(STABLE_BRANCH_NAME, gflags.FLAGS.tracking_branch)
work_branch.CreateBranch()
if not work_branch.Exists():
Die('Unable to create stabilizing branch in %s' % overlay)
« bin/cros_mark_chrome_as_stable.py ('K') | « bin/cros_mark_chrome_as_stable.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698