Force origin remote to use review.o.o.

Change-Id: I2c7e144461b587e8ade8b7ac3eda4427268d6f05
This commit is contained in:
James E. Blair
2012-12-16 19:38:23 -08:00
parent b5ae01a756
commit 1effb5508d

View File

@@ -111,13 +111,12 @@ function setup_workspace {
SHORT_PROJECT=`basename $PROJECT`
if [[ ! -e $SHORT_PROJECT ]]; then
echo " Need to clone $SHORT_PROJECT"
git clone http://zuul.openstack.org/p/$PROJECT
git clone https://review.openstack.org/p/$PROJECT
fi
cd $SHORT_PROJECT
# TODO: remove; this is temporary to handle the transition
# to zuul.openstack.org.
git remote set-url origin http://zuul.openstack.org/p/$PROJECT
# TODO: remove; this is temporary to handle some project renames
git remote set-url origin https://review.openstack.org/p/$PROJECT
BRANCH=$ZUUL_BRANCH