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
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
If you want to see what changed in that revision, try pointing svn log directly at the topmost URL of your repository, as in svn log -r 2 ^/ .
Use svn status command to get the status of the file in the working copy. It displays whether the working copy is modified, or its been added/deleted, or file is not under revision control, etc. 'M' represents that the item has been modified.
Examples. You can see the log messages for all the paths that changed in your working copy by running svn log from the top: $ svn log ------------------------------------------------------------------------ r20 | harry | 2003-01-17 22:56:19 -0600 (Fri, 17 Jan 2003) | 1 line Tweak.
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.
HTH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With