Joe
Joe

Reputation: 15359

How to view the entire set of changes made to svn for the last 'n' days?

How to view the entire set of changes made to svn for the last 'n' days?. I couldn't find a reference in the document though

Upvotes: 1

Views: 2194

Answers (4)

Shreeram
Shreeram

Reputation: 1

You can do this as well..

>backdate=\`date +%Y-%m-%d --date="10 days ago"\` ; svn log -r "{$backdate}:HEAD"

Upvotes: 0

Stefan
Stefan

Reputation: 43585

In the TortoiseSVN log dialog, you can either filter the already fetched and shown revisions by date with the date buttons on the top left, or you can use the "Show all" button on the bottom left and use the "Show Range" button menu. In the range dialog, you can enter the date range to fetch the log entries for in the svn date format. For example:

{"2002-02-17 15:30"}

Upvotes: 2

bluebrother
bluebrother

Reputation: 8906

You can specify dates for svn log to operate on, so if you want the last n days you only need to calculate the date of n days before today, then feed it to svn like this:

svn log -r "{2010-05-23}:HEAD"

See also the output of svn log -h for details on the log options.

Upvotes: 5

Gage
Gage

Reputation: 7513

Depending on your client you could use the Blame utility and use an old revision of the file you wanted to look at. It would show who made the changes and at what revision. Like webdestroya said SVN works on revisions so although you won't be able to see the exact date there will still be a timeline.

If your using the command line then its svn blame or svn annotate

Upvotes: 1

Related Questions