bisect-kit: distinguish version format validation for intra versions
BUG=None
TEST=bisect chromeos local build, then ./bisect_cros_repo.py run <intra_rev>
Change-Id: Idef151fbaab30b0b353a22d03ff38fdf05811dc3
Reviewed-on: https://chromium-review.googlesource.com/1206250
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Reviewed-by: Chi-Ngai Wan <cnwan@google.com>
diff --git a/bisect_android_repo.py b/bisect_android_repo.py
index 3e5503e..5844712 100755
--- a/bisect_android_repo.py
+++ b/bisect_android_repo.py
@@ -64,6 +64,8 @@
revtype = staticmethod(
cli.argtype_multiplexer(cros_util.argtype_cros_version,
android_util.argtype_android_build_id))
+ intra_revtype = staticmethod(
+ codechange.argtype_intra_rev(android_util.argtype_android_build_id))
help = globals()['__doc__']
@staticmethod