blob: 206fee4fad8a30df4aa4e4586b47048c1d705759 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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
|