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:
parent
367f3e032a
commit
9f112a5693
|
@ -14,11 +14,11 @@ function cherrypick {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$PROJ_NAME" ]; then
|
if [ ! -d "$PROJ_NAME" ]; then
|
||||||
git clone "https://git.openstack.org/openstack/$PROJ_NAME"
|
git clone "https://opendev.org/openstack/$PROJ_NAME"
|
||||||
fi
|
fi
|
||||||
cd "$PROJ_NAME"
|
cd "$PROJ_NAME"
|
||||||
for REFSPEC in $REFSPECS; do
|
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
|
git cherry-pick FETCH_HEAD || git cherry-pick --abort
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue