How to get a list of all Subversion commit author usernames?

前端 未结 8 1549
无人共我
无人共我 2021-01-29 20:51

I\'m looking for an efficient way to get the list of unique commit authors for an SVN repository as a whole, or for a given resource path. I haven\'t been able to find an SVN co

8条回答
  •  一向
    一向 (楼主)
    2021-01-29 21:05

    svn log  path-to-repo | grep '^r' | grep '|' | awk '{print $3}' | sort | uniq > committers.txt
    

    This command has the additional grep '|' that eliminates false values. Otherwise, Random commits starting with 'r' get included and thus words from commit messages get returned.

提交回复
热议问题