ACTUALLY support changing remote urls.

Change-Id: Iaee491ba48e63e82dcb404fac34fda101ae4144d
Reviewed-on: https://review.openstack.org/11240
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Monty Taylor 2012-08-12 08:31:10 -04:00 committed by Jenkins
parent ea92897347
commit 4dab44f718

View File

@ -16,7 +16,7 @@ function clone_git() {
OLDDIR=`pwd`
cd $MODULE_PATH/$REPO
if ! git rev-parse HEAD | grep "^$REV" >/dev/null; then
git fetch $REMOVE_URL
git fetch $REMOTE_URL
git reset --hard $REV >/dev/null
fi
cd $OLDDIR