Skip to content

Instantly share code, notes, and snippets.

@SeanJA
Created March 23, 2011 13:23
Show Gist options
  • Save SeanJA/883078 to your computer and use it in GitHub Desktop.
Save SeanJA/883078 to your computer and use it in GitHub Desktop.
generate a git-style authors list out of svn logs
usage:
cd /my/svn/repo
./path/to/svn2git-authors.sh > authors.txt
#!/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