Add git svn fetch

This commit is contained in:
Andrius Štikonas 2008-10-05 19:59:56 +03:00
parent 241cf2774a
commit fe6ced0b08
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ if [ ! -z $TRUNK ]; then
echo -e "Updating repository: \E[34mtrunk" echo -e "Updating repository: \E[34mtrunk"
cd $TRUNK cd $TRUNK
if [ $GIT -eq 1 ]; then if [ $GIT -eq 1 ]; then
$GITSVN fetch
$GITSVN rebase $GITSVN rebase
else else
$SVN update $SVN update
@ -79,6 +80,7 @@ for BRANCH in $BRANCHES; do
echo -e "Updating repository: \E[34m$BRANCH" echo -e "Updating repository: \E[34m$BRANCH"
cd $BRANCH cd $BRANCH
if [ $GIT -eq 1 ]; then if [ $GIT -eq 1 ]; then
$GITSVN fetch
$GITSVN rebase $GITSVN rebase
else else
$SVN update $SVN update