Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a very large SVN repository (working copy of several gb) that has just reached its 20,000th checkin. As a bit of an interesting statistic for our team (and to partly celebrate our 20,000th checkin) I'd like to make a graph showing which folders in the repository have had the most checkins.

Is there any way to do this? We mostly use integrated SVN clients in our IDE and Tortoise SVN, but I'm willing to get other tools for this one-off thing.

share|improve this question

closed as off topic by Yannis, blueberryfields, Mark Trapp Jan 12 '12 at 11:49

Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted


svn log <directory> | grep '^r' | wc -l

To run this for every single folder inside a working copy and get a CSV as the output:

find <directory> ( ! -regex './..' ) -type d -exec /bin/bash -v -c "echo -n \"{},\";svn log \"{}\"|grep '^r'| wc -l" > ./SVNLog.txt \;

share|improve this answer
@Farseeker: nice edit - you deserve at least half the credit for this answer – kevin cline Nov 25 '11 at 4:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.