bisect-kit: fix for syncing android code
Two issues:
1. deleted repos may be pointed to non-default branch
2. "persistent-https://foo" doesn't equal to "https://foo", simply
remove "persistent-" may not work for some remotes. This CL handle
"persistent-https://" properly
Besides that, do not sync deleted repos across branch point for android
to save disk space.
BUG=chromium:893441
TEST=./setup_cros_bisect.py sync --android=pi-arc
Change-Id: I8a2670219f9dc2d2e631257dea876976d88a61f3
Reviewed-on: https://chromium-review.googlesource.com/1282629
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Reviewed-by: Chi-Ngai Wan <cnwan@google.com>
2 files changed