Skip to content

Instantly share code, notes, and snippets.

@ianmariano
Created June 6, 2013 14:48
Show Gist options
  • Save ianmariano/5722067 to your computer and use it in GitHub Desktop.
Save ianmariano/5722067 to your computer and use it in GitHub Desktop.
Git plugin to list svn authors. Place in your path and chmod a+x it. Will output to the console.
#!/bin/bash
usage() {
echo "$0 usage:"
echo " $0 repo-url"
exit 1
}
if [ -z "$1" ]; then
usage
fi
repourl=$1
svn log "$repourl" -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2"<"$2">"}' | sort -u
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment