如何在TortoiseSVN中浏览文件的差异?

时间:2021-05-09 14:29:52

I am currently using TortoiseSVN as my source control in Windows. How do I view the diff of a single file as I move through the different revisions quickly? Or is there a better tool?

我目前正在使用TortoiseSVN作为Windows中的源代码控制。当我快速浏览不同的修订版时,如何查看单个文件的差异?还是有更好的工具?

4 个解决方案

#1


To see the revisions of the file you can right click the file and choose

要查看文件的修订版,您可以右键单击该文件并选择

TortoiseSVN -> Show Log

TortoiseSVN - >显示日志

Then, from there you can select multiple items and choose Compare Revisions

然后,从那里您可以选择多个项目并选择比较修订

#2


I think what you might really like is an open source tool called svn-time-lapse-view.

我认为你真正喜欢的是一个名为svn-time-lapse-view的开源工具。

It's a Java executable jar file that lets you load all the revisions for a file and then use a slider to scroll/cycle through all of the version changes with the diff shown below the slider.

它是一个Java可执行jar文件,允许您加载文件的所有修订版,然后使用滑块滚动/循环浏览所有版本更改,并使用滑块下方显示的差异。

Much faster than opening the log and selecting two files over and over again.

比打开日志并反复选择两个文件快得多。

#3


I think you might want to have a look at the Blame tool. It will annotate each line of source with the revision number in which it was last modified.

我想你可能想看看Blame工具。它将使用上次修改的修订号对每行源进行注释。

#4


Right-click on the file > TurtoiseSVN > Diff or Diff with previous version. You can also use Show Log, then right-click the file and use any of the "Compare" options. I personally use WinMerge for merging and showing differences.

右键单击文件> TurtoiseSVN> Diff或Diff with previous version。您还可以使用“显示日志”,然后右键单击该文件并使用任何“比较”选项。我个人使用WinMerge来合并和显示差异。

#1


To see the revisions of the file you can right click the file and choose

要查看文件的修订版,您可以右键单击该文件并选择

TortoiseSVN -> Show Log

TortoiseSVN - >显示日志

Then, from there you can select multiple items and choose Compare Revisions

然后,从那里您可以选择多个项目并选择比较修订

#2


I think what you might really like is an open source tool called svn-time-lapse-view.

我认为你真正喜欢的是一个名为svn-time-lapse-view的开源工具。

It's a Java executable jar file that lets you load all the revisions for a file and then use a slider to scroll/cycle through all of the version changes with the diff shown below the slider.

它是一个Java可执行jar文件,允许您加载文件的所有修订版,然后使用滑块滚动/循环浏览所有版本更改,并使用滑块下方显示的差异。

Much faster than opening the log and selecting two files over and over again.

比打开日志并反复选择两个文件快得多。

#3


I think you might want to have a look at the Blame tool. It will annotate each line of source with the revision number in which it was last modified.

我想你可能想看看Blame工具。它将使用上次修改的修订号对每行源进行注释。

#4


Right-click on the file > TurtoiseSVN > Diff or Diff with previous version. You can also use Show Log, then right-click the file and use any of the "Compare" options. I personally use WinMerge for merging and showing differences.

右键单击文件> TurtoiseSVN> Diff或Diff with previous version。您还可以使用“显示日志”,然后右键单击该文件并使用任何“比较”选项。我个人使用WinMerge来合并和显示差异。