Add --manifest-repo-url option.
Overrides the URL to the manifest repository.
BUG=chromium-os:23277
TEST=remote trybot, unit tests.
Change-Id: I8320bbe2049c187bc5ac3558f799667f1166a7cf
Reviewed-on: https://gerrit.chromium.org/gerrit/30753
Commit-Ready: Ryan Cui <rcui@chromium.org>
Reviewed-by: Ryan Cui <rcui@chromium.org>
Tested-by: Ryan Cui <rcui@chromium.org>
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index 68109c5..812681e 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -836,6 +836,8 @@
group.add_remote_option('--maxarchives', dest='max_archive_builds',
default=3, type='int',
help="Change the local saved build count limit.")
+ parser.add_remote_option('--manifest-repo-url',
+ help=('Overrides the default manifest repo url.'))
group.add_remote_option('--noarchive', action='store_false', dest='archive',
default=True, help="Don't run archive stage.")
group.add_remote_option('--nobootstrap', action='store_false',