Skip to content

Instantly share code, notes, and snippets.

@benhosmer
Created February 24, 2014 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benhosmer/9187991 to your computer and use it in GitHub Desktop.
Save benhosmer/9187991 to your computer and use it in GitHub Desktop.
Create an SVN authors file to convert svn repos to git.
#!/usr/bin/env bash
authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = NAME <USER@DOMAIN>";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment