Skip to content

Instantly share code, notes, and snippets.

@petemcw
Created September 23, 2011 15:56
Show Gist options
  • Save petemcw/1237737 to your computer and use it in GitHub Desktop.
Save petemcw/1237737 to your computer and use it in GitHub Desktop.
Script to build an "authors" template file for migrating Subversion repo 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
@polymathLTE
Copy link

Yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment