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

Unified Diff: cros_mark_all_as_stable

Issue 3037045: cros_mark_all_as_stable: add tracking branch support (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_mark_all_as_stable
diff --git a/cros_mark_all_as_stable b/cros_mark_all_as_stable
index 562d6110140735ed7e8abba88b13b471a0d5879a..50648236ece08a180311984014d73f934b91cb3e 100755
--- a/cros_mark_all_as_stable
+++ b/cros_mark_all_as_stable
@@ -19,6 +19,8 @@ get_default_board
DEFINE_string board "${DEFAULT_BOARD}" \
"The board to set package keywords for."
+DEFINE_string tracking_branch "origin" \
+ "Used with commit to specify branch to track against."
FLAGS "$@" || exit 1
eval set -- "${FLAGS_ARGV}"
@@ -65,5 +67,5 @@ info "Candidate package list ${PACKAGE_LIST}"
info "With commit id list ${COMMIT_ID_LIST}"
./cros_mark_as_stable --board ${FLAGS_board} -p "${PACKAGE_LIST}" \
- -i "${COMMIT_ID_LIST}" commit || \
+ -i "${COMMIT_ID_LIST}" -t ${FLAGS_tracking_branch} commit || \
die "Could not mark all packages as stable"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698