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" |