From: Oleg Broytman Date: Tue, 12 Mar 2019 15:46:32 +0000 (+0300) Subject: Feat(get-authors): Add an alternative implementation X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=commitdiff_plain;h=1ea61da74423202f5aa551935ac82ed5fed9e573 Feat(get-authors): Add an alternative implementation --- diff --git a/svn/get-authors b/svn/get-authors index 975ef95..54e5707 100755 --- a/svn/get-authors +++ b/svn/get-authors @@ -7,5 +7,9 @@ fi url="$1" +#svn log -q | +# awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | +# sort -u >>authors.txt + svn log --xml "$url" | grep -F author | sort -u | sed 's/^<[^>]\+>\(.\+\)<.\+>$/\1 = /' >>authors.txt