5 while test $# -gt 0; do
18 if test "x$color" = "xyes"; then
20 COLOR_REPOSITORY="\033[33m"
21 COLOR_BRANCH="\033[36m"
22 COLOR_DEFAULT="\033[0m"
30 tail -n +5 < Next/Trees | while read tree type url; do
34 if test "x$type" != "xgit"; then
35 echo "Don't know how to handle type $type trees, skipping..."
39 echo -en "merging tree ${COLOR_TREE}${tree}${COLOR_DEFAULT} "
40 echo -en "from ${COLOR_REPOSITORY}${repository}${COLOR_DEFAULT} "
41 echo -e "branch ${COLOR_BRANCH}$branch${COLOR_DEFAULT}"
43 if ! git merge ${tree}/${branch}; then
44 /bin/bash <&- < /dev/tty
48 echo "-next-$(date +%Y%m%d)" > localversion-next