Question

I just want to see what files were modded/added/deleted between 2 arbitrary revisions. How do I do this?

Can I do this in tortoise as well?

Was it helpful?

Solution

svn log -v -rX:Y .

The -v for "verbose" switch will give you detailed output on which files were affected on that revision.

Note that "." assumes you are currently in a working copy directory, but you can also use a URL such as "http://svn.myawesomesoftwareproject.com/trunk/lib/foo.c".

This information can be found by typing "svn help log", or by reading the SVN Book, available free online. Don't forget to Read The Friendly Manual!

OTHER TIPS

If you want a concise list of files without the times and commit messages, you can do it like this:

svn diff -r X:Y --summarize

Right click the directory containing your repo. Choose SVN Show Log. Control+Click the two revisions. Right click on one and choose Compare Revisions.

svn diff -r "start_revision_number":"end_revision_number" "url_of_svn_repo" --summarize

then just pipe it to grep ^A D or M

If you are new to source control and SVN you may want to pick up Pragmatic Version Control with SVN. It explains many of the concepts and commands.

This worked for me on windows

  1. Go to your folder where you have the repository,
  2. right click and select SVN Show log,
  3. In the dialog box there is a "Show Range" button, click it and fill Start Revision = {your revision} and End Revision = {your revision}
  4. Select the Start and Date range as per your need

Note: {your revision}=provide the revision number for atleast one of your file changes. All files associated with that revision should get listed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top