Don't check for proposed branches in propose_update

These are not used anymore, so I am reliably informed.

Change-Id: I9a4da1d350d1884ba2b263f6945a01ac4e2c33b4
This commit is contained in:
James E. Blair 2016-04-21 07:54:41 -07:00
parent a86d97f497
commit aca7a864a7

View File

@ -95,11 +95,6 @@ for PROJECT in $PROJECTS; do
BRANCH=""
if git branch -a | grep -q "^ remotes/origin/$ZUUL_REFNAME$" ; then
BRANCH=$ZUUL_REFNAME
elif echo $ZUUL_REFNAME | grep -q "^stable/" ; then
FALLBACK=$(echo $ZUUL_REFNAME | sed s,^stable/,proposed/,)
if git branch -a | grep -q "^ remotes/origin/$FALLBACK$" ; then
BRANCH=$FALLBACK
fi
fi
# don't bother with this project if there's not a usable branch