Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Displaying a list of files that have changed since last changeset in SVN

I work with a team, and we use Subversion.

In the morning I want to see exactly what was changed since the last build, is there a way to get a list of files that were modified between changesets?

Update Using tortoiseSVN please

like image 547
mrblah Avatar asked Sep 18 '09 11:09

mrblah


People also ask

How do you find changed files in svn?

The solution here is to either update your working copy or explicitly provide a revision number to svn log by using the --revision ( -r ) option. svn log also takes a --quiet ( -q ) option, which suppresses the body of the log message. When combined with --verbose ( -v ), it gives just the names of the changed files.

How one can see all the changes in the working copy since the last update commit?

You can simply click on one revision, then ctrl-click on the other revision (so the two are selected), then rt-click on either one, do "Compare revisions". This WILL show all changes between those two revisions, including changes made in any intervening revision.

How do I view a specific revision in svn?

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.

What is svn update in tortoise?

If you want more control over the update process, you should use TortoiseSVN → Update to Revision... instead. This allows you to update your working copy to a specific revision, not only to the most recent one.


4 Answers

With TortoiseSVN: rightclick, pick TortoiseSVN->Show log.

You'll get a list of revisions and can pick any two to compare.

like image 179
reinierpost Avatar answered Sep 29 '22 09:09

reinierpost


This has been long ago, but to precisely answer the original question, i.e. "is there a way to get a list of files that were modified between changesets in TortoiseSVN", here is a way to achieve that:

  1. On top-level folder, right-click and TortoiseSVN --> Show log.
  2. From the list of revisions, select all back to, but not including, the last revision that you want to compare against
  3. Right-click on the selections and chose Compare revisions
  4. Now you're looking at a list of all modified files since that particular revision

Original article: http://www.andornot.com/blog/post/How-to-export-only-files-modified-since-revision-x-with-TortoiseSVN.aspx

like image 26
András Szepesházi Avatar answered Sep 29 '22 10:09

András Szepesházi


Usually svn outputs exactly that list when you do an update.

svn diff has a --summarize option, too:

svn diff -rPREV:HEAD --summarize
svn diff -r10374:11128 --summarize

You'll get the idea :-)

like image 42
Joey Avatar answered Sep 29 '22 10:09

Joey


The -u option to svn status shows which files have been changed on the server since the last time you did an update. This can be useful to get a preview of what's about to change for you, before you do an svn update.

like image 41
Greg Hewgill Avatar answered Sep 29 '22 10:09

Greg Hewgill