Fix branch logic in req propose script

Checkout the appropriate branch in the target project directory
before syncing the requirements.

Change-Id: I9947255412b57e6d7be0b95bd920b85f1c92658a
This commit is contained in:
James E. Blair 2013-12-10 17:46:38 -08:00
parent ac4d4a1f6f
commit 95d09355a3

View File

@ -58,6 +58,7 @@ EOF
git clone ssh://$USERNAME@review.openstack.org:29418/$PROJECT.git
pushd $PROJECT_DIR
git checkout $BRANCH
git review -s
if [ -n "$change_id" ] ; then
git review -d $change_id