Take the 2-minute tour ×

What I would like is be able to generate a simple report that is the output of svn log for a certain date range. Specifically, all the changes since 'yesterday'.

Is there an easy way to accomplish this in Subversion besides grep-ing the svn log output for the timestamp?


svn -v log -d 2008-9-23:2008-9:24 > report.txt
share|improve this question

5 Answers 5

up vote 32 down vote accepted

Very first hit by google for "svn log date range": http://svn.haxx.se/users/archive-2006-08/0737.shtml

So svn log <url> -r {2008-09-19}:{2008-09-26} will get all changes for the past week, including today.

And if you want to generate reports for a repo, there's a solution: Statsvn.


share|improve this answer
wow, I was pretty close with my 'guess', thanks –  Adam Sep 26 '08 at 20:31

You can use dates the same as you can use revision numbers. The syntax is {yyyy-mm-dd}. So, for all changes between 12:00am on September 23 and 12am on September 24, do:

svn log -v -r {2008-09-23}:{2008-09-24} > report.txt
share|improve this answer

The -v is important if you want to see a list of the actual changes (over and above the log messages... if any! ;) )

share|improve this answer

you can do this:

   svn log -r{2008-9-23}:{2008-9-24} > report.txt

add a --xml before the -r if you want ot get the output in xml format for "easier" post processing.

share|improve this answer
svn log -r '{2013-9-23}:{2013-9-24}'

This is might be the correct syntex.
Quotes are required to get the correct results.

share|improve this answer

Your Answer


