svn

How do you get a list of changes from a Subversion repository by date range?


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?

Example:

svn -v log -d 2008-9-23:2008-9:24 > report.txt

Solution

  • 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.