Skip to content

Instantly share code, notes, and snippets.

@technicalpickles
Created August 24, 2008 18:44
Show Gist options
  • Save technicalpickles/7000 to your computer and use it in GitHub Desktop.
Save technicalpickles/7000 to your computer and use it in GitHub Desktop.
Script for generating a svn.authorsfile from subversion history
#!/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