mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
branches/5.1:
Fix ./export.sh to honor ENDREV
This commit is contained in:
parent
72a38104ea
commit
1199a0e5fb
1 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,8 @@ 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
|
||||
svn log -v -r "$START_REV:$END_REV" > to-mysql/log
|
||||
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-)
|
||||
do
|
||||
|
@ -50,7 +50,7 @@ cd ../..
|
|||
$EDITOR log
|
||||
cd ..
|
||||
|
||||
fname="innodb-$BRANCH-ss$2.tar.gz"
|
||||
fname="innodb-$BRANCH-ss$END_REV.tar.gz"
|
||||
|
||||
rm -f $fname
|
||||
tar czf $fname to-mysql
|
||||
|
|
Loading…
Reference in a new issue