问题
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?
回答1:
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!
回答2:
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
回答3:
Right click the directory containing your repo. Choose SVN Show Log. Control+Click the two revisions. Right click on one and choose Compare Revisions.
回答4:
svn diff -r "start_revision_number":"end_revision_number" "url_of_svn_repo" --summarize
then just pipe it to grep ^A D or M
回答5:
Like this.
回答6:
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.
回答7:
This worked for me on windows
- Go to your folder where you have the repository,
- right click and select SVN Show log,
- In the dialog box there is a "Show Range" button, click it and fill Start Revision = {your revision} and End Revision = {your revision}
- 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.
来源:https://stackoverflow.com/questions/167371/how-do-i-see-what-files-were-changed-between-2-revisions