Get All SVN Commiters from a Repository or Working Copy

Short – but unfortunatly to long for Twitter. With this little snippet you can get all commits from an svn working copy, repository or from a pure log:

svn log | ruby -e "puts STDIN.read.split(/\n/).select{|l| l =~ /^r\d+/}.map{|l| l.split('|')[1].strip}.uniq.sort"

Who has any guess why I did need this?

Share and Enjoy:
  • Twitter
  • del.icio.us
  • Google Bookmarks
  • Digg
  • Facebook
  • Mixx
  • Sphinn
  • Technorati
  • HealthRanker
  • Reddit
  • Slashdot
  • Tumblr

2 Kommentare

  1. Aaron:

    To get all involved persons in a given svn repository. Nice snipped, saved :)

  2. Johannes Thönes:

    Yes, obviously. But why do I need this information?

Hinterlasse einen Kommentar