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

前端 未结 7 1988
故里飘歌
故里飘歌 2020-12-30 01:05

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?

相关标签:
7条回答
  • 2020-12-30 01:12
    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!

    0 讨论(0)
  • 2020-12-30 01:14

    Like this.

    0 讨论(0)
  • 2020-12-30 01:18

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

    then just pipe it to grep ^A D or M

    0 讨论(0)
  • 2020-12-30 01:20

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

    0 讨论(0)
  • 2020-12-30 01:26

    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.

    0 讨论(0)
  • 2020-12-30 01:27

    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.

    0 讨论(0)
提交回复
热议问题