Fix a bug that causing JiriUpdater treating remote project as local

Before this patch, JiriUpdater determines whether a repo is within
local gerrit by opening a local repo with the same name. This
behavior is causing issues if a remote repo has the same name as a
local repo. This patch fixed this issue by matching the hostnames
of gerrit server and repo url.

Change-Id: I0c6ff995a6b7f1b3af0b55ec872cbc87f1059bb3
3 files changed
tree: 860f79c303374d74f247505f6f4626936135f2a8
  1. BUILD
  4. java/
  5. javatests/

The plugin will update a superproject to contain the submodules defined in the manifest XML file whenever the manifest repo is changed.

For more information see the documentation.