Commit da0fe73f authored by vdimov's avatar vdimov

branches/5.1:

Fix ./export.sh to honor ENDREV
parent 60ab2093
...@@ -27,8 +27,8 @@ BRANCH=$(basename $(svn info .|grep ^URL: |cut -f 2 -d ' ')) ...@@ -27,8 +27,8 @@ BRANCH=$(basename $(svn info .|grep ^URL: |cut -f 2 -d ' '))
rm -rf to-mysql rm -rf to-mysql
mkdir to-mysql{,/storage,/patches,/mysql-test{,/t,/r,/include}} mkdir to-mysql{,/storage,/patches,/mysql-test{,/t,/r,/include}}
svn log -v -r "$START_REV:BASE" > to-mysql/log svn log -v -r "$START_REV:$END_REV" > to-mysql/log
svn export -q . to-mysql/storage/innobase svn export -q -r $END_REV . to-mysql/storage/innobase
for REV in $(svn log -q -r$START_REV:$END_REV |grep ^r |cut -f 1 -d ' ' |cut -b 2-) for REV in $(svn log -q -r$START_REV:$END_REV |grep ^r |cut -f 1 -d ' ' |cut -b 2-)
do do
...@@ -50,7 +50,7 @@ cd ../.. ...@@ -50,7 +50,7 @@ cd ../..
$EDITOR log $EDITOR log
cd .. cd ..
fname="innodb-$BRANCH-ss$2.tar.gz" fname="innodb-$BRANCH-ss$END_REV.tar.gz"
rm -f $fname rm -f $fname
tar czf $fname to-mysql tar czf $fname to-mysql
......
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