]> git.phdru.name Git - git-scripts.git/commitdiff
Feat(get-authors): Add an alternative implementation
authorOleg Broytman <phd@phdru.name>
Tue, 12 Mar 2019 15:46:32 +0000 (18:46 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 12 Mar 2019 15:46:32 +0000 (18:46 +0300)
svn/get-authors

index 975ef956aca7a64f25c9ab3a9fb40a32d31a22bf..54e570796692fd315a39aeb2754bba419e7e8f1d 100755 (executable)
@@ -7,5 +7,9 @@ fi
 
 url="$1"
 
 
 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
 svn log --xml "$url" | grep -F author | sort -u |
    sed 's/^<[^>]\+>\(.\+\)<.\+>$/\1 = /' >>authors.txt