This feed contains pages tagged "svn".
To convert a set of subversion repos in ~/svn to git repos in ~/git
set -e
git config svn.authorsfile << EOF
joe = Joe Milbourn <joe.milbourn+git@gmail.com>
EOF
mkdir ~/git_tmp
cd ~/git_tmp
for x in ~/svn/*;
do
repo=$(basename $x)
mkdir $repo
pushd $repo
git svn init file://$HOME/svn/$repo --no-metadata
git svn fetch
popd
git clone --bare $repo ~/git/$repo
done
rm -rf git_tmp
This kind of error message:
$ svk pull
Syncing svn+ssh://des3jjm@vega.dur.ac.uk/home/hudson/pg/des3jjm/subversion/docs
Retrieving log information from 249 to 249
(in cleanup) Svndiff data ends unexpectedly: Unexpected end of svndiff input
Svndiff data ends unexpectedly: Unexpected end of svndiff input
(in cleanup) Svndiff data ends unexpectedly: Unexpected end of svniff input
Can be caused by:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/engdebian52-root
6890048 6560316 0 100% /
So it's really not worth re-mirroring the whole repository...