#!/bin/sh
set -e

repo=$1

svn log --xml file:///svn/$repo \
| sed '/<author>/! d; s,<author>,,; s,</author>,,' | sort | uniq \
| while read a; do
        ./AUTHOR $a >> authors-$repo.txt || true
  done
