Commit 6ddb61b4 authored by Vasil Dimov's avatar Vasil Dimov

Remove files that are SVN-specific.

parent c75d70fd
#! /bin/sh
path=`dirname $0`
. "$path/SETUP.sh"
extra_flags="$pentium_cflags $fast_cflags -g"
extra_configs="$pentium_configs $static_link --with-plugins=innobase"
. "$path/FINISH.sh"
#! /bin/sh
path=`dirname $0`
. "$path/SETUP.sh" $@ --with-debug=full
extra_flags="$pentium_cflags $debug_cflags"
extra_configs="$pentium_configs $debug_configs --with-plugins=innobase"
. "$path/FINISH.sh"
#!/bin/bash
#
# export current working directory in a format suitable for sending to MySQL
# as a snapshot. also generates the actual snapshot and sends it to MySQL.
set -eu
die () {
echo $*
exit 1
}
if [ $# -ne 2 ] ; then
die "Usage: export.sh revision-number-of-last-snapshot current-revision-number"
fi
START_REV=$(($1 + 1))
END_REV=$2
set +u
if test -z $EDITOR; then
die "\$EDITOR is not set"
fi
set -u
BRANCH=$(basename $(svn info .|grep ^URL: |cut -f 2 -d ' '))
rm -rf to-mysql
mkdir to-mysql{,/storage,/patches,/mysql-test{,/t,/r,/include}}
svn log -v -r "$START_REV:BASE" > to-mysql/log
svn export -q . to-mysql/storage/innobase
for REV in $(svn log -q -r$START_REV:$END_REV |grep ^r |cut -f 1 -d ' ' |cut -b 2-)
do
PATCH=to-mysql/patches/r$REV.patch
svn log -v -r$REV > $PATCH
svn diff -r$(($REV-1)):$REV >> $PATCH
done
cd to-mysql/storage/innobase
mv mysql-test/*.test mysql-test/*.opt ../../mysql-test/t
mv mysql-test/*.result ../../mysql-test/r
mv mysql-test/*.inc ../../mysql-test/include
rmdir mysql-test || :
rm setup.sh export.sh revert_gen.sh compile-innodb-debug compile-innodb || :
cd ../..
$EDITOR log
cd ..
fname="innodb-$BRANCH-ss$2.tar.gz"
rm -f $fname
tar czf $fname to-mysql
scp $fname mysql:snapshots
rm $fname
rm -rf to-mysql
echo "Sent $fname to MySQL"
#!/bin/bash
#
# revert changes to all generated files. this is useful in some situations
# when merging changes between branches.
set -eu
svn revert include/pars0grm.h pars/pars0grm.h pars/lexyy.c pars/pars0grm.c
#!/bin/sh
#
# Prepare the MySQL source code tree for building
# with checked-out InnoDB Subversion directory.
# This script assumes that the current directory is storage/innobase.
set -eu
TARGETDIR=../storage/innobase
# link the build scripts
BUILDSCRIPTS="compile-innodb compile-innodb-debug"
for script in $BUILDSCRIPTS ; do
ln -sf $TARGETDIR/$script ../../BUILD/
done
cd ../../mysql-test/t
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
cd ../r
ln -sf ../$TARGETDIR/mysql-test/*.result .
cd ../include
ln -sf ../$TARGETDIR/mysql-test/*.inc .
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment