Pradėtas checkout scenarijaus pertvarkymas.

This commit is contained in:
Andrius Štikonas 2012-09-22 14:30:42 +03:00
parent c1adc872ff
commit e1725c0c49
1 changed files with 24 additions and 43 deletions

View File

@ -112,82 +112,63 @@ if [ ! -f $THS ]; then
# Checkout repositories. # Checkout repositories.
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/templates/messages $potstable $SVN co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/templates/messages $potstable
else else
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/templates/messages $potstable $SVN co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/templates/messages $potstable
fi fi
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/templates/messages $pottrunk $SVN co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/templates/messages $pottrunk
else else
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/templates/messages $pottrunk $SVN co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/templates/messages $pottrunk
fi fi
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/messages $postable $SVN co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/messages $postable
else else
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/messages $postable $SVN co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/messages $postable
fi fi
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/$lcode/messages $potrunk $SVN co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/$lcode/messages $potrunk
else else
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/$lcode/messages $potrunk $SVN co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/$lcode/messages $potrunk
fi fi
if [ "$documentation" = "y" ]; then if [ "$documentation" = "y" ]; then
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/templates/docmessages $docpotstable $SVN co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/templates/docmessages $docpotstable
else else
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/templates/docmessages $docpotstable $SVN co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/templates/docmessages $docpotstable
fi fi
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/templates/docmessages $docpottrunk $SVN co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/templates/docmessages $docpottrunk
else else
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/templates/docmessages $docpottrunk $SVN co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/templates/docmessages $docpottrunk
fi fi
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/docmessages $docstable $SVN co svn+ssh://$username@svn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/docmessages $docstable
else else
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/docmessages $docstable $SVN co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kde4/$lcode/docmessages $docstable
fi fi
if [ "$svnwrite" = "y" ]; then if [ "$svnwrite" = "y" ]; then
svn co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/$lcode/docmessages $doctrunk $SVN co svn+ssh://$username@svn.kde.org/home/kde/trunk/l10n-kde4/$lcode/docmessages $doctrunk
else else
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/$lcode/docmessages $doctrunk $SVN co svn://anonsvn.kde.org/home/kde/trunk/l10n-kde4/$lcode/docmessages $doctrunk
fi fi
fi fi
else else
source $THS source $THS
wdir=`pwd` $SVN up all-trunk/$lcode
cd $potstable $SVN up all-stable/$lcode
svn up $SVN up all-trunk/templates
cd $wdir $SVN up all-stable/templates
cd $pottrunk $SVN up all-trunk/scripts
svn up $SVN up all-trunk/templates
cd $wdir $SVN up all-stable/scripts
cd $postable $SVN up all-stable/templates
svn up
cd $wdir
cd $potrunk
svn up
cd $wdir
if [ "$documentation" = "y" ]; then
cd $docpotstable
svn up
cd $wdir
cd $docpottrunk
svn up
cd $wdir
cd $docstable
svn up
cd $wdir
cd $doctrunk
svn up
cd $wdir
fi
fi fi