Enter in your local svn repo and execute the following command, this creates a users.txt file
svn log -q | awk -F '|' '/^r/ {gsub(/ /, "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > users.txt
An filled line example:
admin.svn = Admin Svn <[email protected]>
Go to a path and init a git repository:
git svn init <repo_url> --no-metadata
git config svn.authorsfile <authors_file_created>
If you desire, config the branchs you want adding the line in ".git/config" file:
In this example, clone branches that match with "feature*":
branches = branches/feature*:refs/heads/*
This take several hours depending size of repository
git svn fetch
After users file created, clone the repository with the following command, this command works in a subdiretory for me:
git svn clone <repository_path> --trunk=. -A <authors_file_created> <local_folder_to_create_the_new_repo>