~cpp 
#!/bin/sh

# $1

if [ "$1" == "" ]
        then
                echo "usage : $0 current_repos "
                exit;
else
        cRepos=$1
fi

nRepos="$cRepos"_fsfs

echo $cRepos;
echo $nRepos;


# change
svnadmin create --fs-type=fsfs $nRepos
svnadmin dump $cRepos | svnadmin load $nRepos

mv $cRepos "$cRepos"_back
mv $nRepos $cRepos

chown www-data.svnadmin $cRepos -R
chmod g+w $cRepos -R 

Retrieved from http://wiki.zeropage.org/wiki.php/SubVersion/BerkeleyDBToFSFS
last modified 2021-02-07 05:28:08