How do I see what files were changed between 2 revisions?

倾然丶 夕夏残阳落幕 提交于 2019-11-30 08:22:46
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!

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.

Dipendra Gurung

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!