#!/bin/sh . `dirname $0`/common lco platform/manifest linaro-master cd $SRC/platform/manifest rm -f /tmp/failed.list grep 'revision="linaro-master"' default.xml |while read r; do P=`echo $r |sed -e 's,.*name=",,;s,".*,,'` lco $P linaro-master cd $SRC/$P git fetch --all if git rebase aosp/master; then git push --force gerrit linaro-master else echo $P >>/tmp/failed.list fi done if [ -e /tmp/failed.list ]; then echo echo "******************************************" echo "The following projects need manual merges:" cat /tmp/failed.list rm -f /tmp/failed.list fi