dev_install: fetch git/gerrit from opendev

To avoid warning about the redirection, let's use the new URL.

Change-Id: I053ce25b7531fbec8bbca6dfb087acf13afcf511
This commit is contained in:
Emilien Macchi 2019-06-14 13:44:32 -04:00
parent 367f3e032a
commit 9f112a5693
1 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@ function cherrypick {
fi
if [ ! -d "$PROJ_NAME" ]; then
git clone "https://git.openstack.org/openstack/$PROJ_NAME"
git clone "https://opendev.org/openstack/$PROJ_NAME"
fi
cd "$PROJ_NAME"
for REFSPEC in $REFSPECS; do
git fetch "https://review.openstack.org/openstack/$PROJ_NAME" "$REFSPEC"
git fetch "https://review.opendev.org/openstack/$PROJ_NAME" "$REFSPEC"
git cherry-pick FETCH_HEAD || git cherry-pick --abort
done