Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

svn

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 
like image 928
Adam Avatar asked Sep 26 '08 19:09

Adam


People also ask

How do I find my svn revision history?

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.

How do you find changed files in svn?

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 ^/ .

Which is the svn command to see the list of changes made in a working copy before committing to the repository?

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.

How do I view svn logs?

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.


1 Answers

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

like image 52
Zsolt Botykai Avatar answered Nov 16 '22 01:11

Zsolt Botykai