Fix svn errors

Bu işleme şunda yer alıyor:
Andrius Štikonas 2008-09-18 23:50:22 +03:00
ebeveyn c1f12f6fb8
işleme 90650c7e1c
1 değiştirilmiş dosya ile 14 ekleme ve 16 silme

Dosyayı Görüntüle

@ -37,12 +37,12 @@ if [ ! $MSGINIT ]; then
exit 1
fi
if [ $GIT ] && [ ! $GITSVN ]; then
if [ $GIT -eq 1 ] && [ ! $GITSVN ]; then
echo -e "\E[31mgit-svn is unavailable. svn will be used."; tput sgr0
GIT=0
fi
if [ $GIT ] && [ $GITSVN ]; then
if [ $GIT -eq 1 ] && [ $GITSVN ]; then
SVN="$GITSVN clone"
fi
@ -52,17 +52,16 @@ echo ""
if [ ! -z $TRUNK ]; then
if [ -e $TRUNK/.git ] || [ -e $TRUNK/.svn ]; then
echo -e "Updating repository: \E[34mtrunk"
if [ $GIT ] && [ $GITSVN ]; then
SVN="$GITSVN rebase"
else
SVN="$SVN update"
fi
cd $TRUNK
$SVN "$REPO/$TRUNK/po"
if [ $GIT -eq 1 ]; then
$GITSVN rebase
else
$SVN update
fi
cd ..
else
echo -e "Downloading repository: \E[34mtrunk"
if [ $GIT ] && [ $GITSVN ]; then
if [ $GIT -eq 1 ]; then
SVN="$GITSVN clone"
else
SVN="$SVN checkout"
@ -78,17 +77,16 @@ fi
for BRANCH in $BRANCHES; do
if [ -e $BRANCH/.git ] || [ -e $BRANCH/.svn ]; then
echo -e "Updating repository: \E[34m$BRANCH"
if [ $GIT ] && [ $GITSVN ]; then
SVN="$GITSVN rebase"
else
SVN="$SVN update"
fi
cd $BRANCH
$SVN "$REPO/$BRANCH/po"
if [ $GIT -eq 1 ]; then
$GITSVN rebase
else
$SVN update
fi
cd ..
else
echo -e "Downloading repository: \E[34m$BRANCH"
if [ $GIT ] && [ $GITSVN ]; then
if [ $GIT -eq 1 ]; then
SVN="$GITSVN clone"
else
SVN="$SVN checkout"