mrblah
mrblah

Reputation: 103707

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

Upvotes: 21

Views: 32035

Answers (9)

Stefan
Stefan

Reputation: 43585

May I recommend CommitMonitor - also from the dev(s) who brought you TortoiseSVN.

Upvotes: 1

DrFalk3n
DrFalk3n

Reputation: 5006

  • svn st -u gives a screen shot of all changed files.

  • svn diff returns differences between working copy and the last committed revision; diff works over single files or folders or everything.

  • svn update doesn't change differences and status of your changed files.

  • svn revert rolls back your changes to the last rev.

Upvotes: 1

reinierpost
reinierpost

Reputation: 8611

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

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

Upvotes: 18

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

Upvotes: 18

user159895
user159895

Reputation:

svnlook changed /path/to/repos

will give you everything that happened in the last commit.

Upvotes: 0

demoncodemonkey
demoncodemonkey

Reputation: 11957

As you're using TortoiseSVN you can make it show the Check For Modifications dialog, from a batch file, like this:

@echo off
tortoiseproc /command:repostatus /path:"c:\some_path\wc"

I assume you're only interested in what's changed since your last update. If you're interested in what's changed between two specific revisions then you can make it show the Log Messages window, like this:

@echo off
tortoiseproc /command:log /path:"c:\some_path\wc"

For more info about the tortoiseproc commands, see here.

Upvotes: 1

Joey
Joey

Reputation: 354854

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 :-)

Upvotes: 12

Greg Hewgill
Greg Hewgill

Reputation: 994787

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.

Upvotes: 6

Robert Karl
Robert Karl

Reputation: 7826

svn status will show what's been changed since the last commit or update. i think you can also use it with -r, or like svn status -r rev1:rev2

Upvotes: 0

Related Questions