如何使用 Tortoisesvn 将文件的本地副本与 Subversion 中的最新副本进行比较?

发布于 2024-09-16 12:48:25 字数 85 浏览 5 评论 0原文

如何使用 Tortoisesvn 将文件的本地副本与 Subversion 中的最新副本进行比较? 我已提交所有文件,但某处似乎存在差异,我正在尝试找到它。

How to compare local copy of a file with latest one in Subversion using Tortoisesvn?
I have all my files committed but there seems to be a difference somewhere and I am trying to find it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

烟花易冷人易散 2024-09-23 12:48:25

您正在搜索的选项称为“Diff”。

此功能向您显示同一文件的两个版本(本地副本和存储库中的最新版本),突出显示它们之间的任何差异。

The option you're searching is called "Diff".

This feature shows you both versions of the same file (local copy and latest in repository), highlighting any difference between them.

々眼睛长脚气 2024-09-23 12:48:25

右键单击签出的文件夹,然后从 TortoiseSVN 菜单中执行“检查修改” - 这将显示所有尚未提交的文件。

如果您担心其他人签出代码时存在差异,您可以对其他文件夹进行第二次签出,然后使用 kdiff3 等工具来比较两者。

Right click on the checked out folder and do "check for modifications" from the TortoiseSVN menu - this shows you all the files that have not yet been committed.

If you are paranoid that there are differences when someone else checks out the code you could just do a 2nd check out to some other folder and use a tool like kdiff3 to compare the two.

霞映澄塘 2024-09-23 12:48:25

右键单击要比较的文件,展开 TortoiseSVN 并选择 Diff。

如果自上次执行 svn update 以来对本地文件进行了编辑,则其图标上将有一个红色感叹号水印,如果没有,则可能需要再次运行 svn update 并再次检查差异。

You right-click on the file you want to compare, expand TortoiseSVN and choose Diff.

If the file you have locally was edited since the last svn update you performed, it will have a red exclamation mark watermark on it's icon, if it doesn't then maybe you need to run svn update again and check the differences again.

旧时模样 2024-09-23 12:48:25

尝试使用“清理”来解决任何不一致的问题。

Try using 'Cleanup' to attempt to resolve any inconsistencies.

半枫 2024-09-23 12:48:25

这似乎是一个旧线程,但是我想回答这个问题,因为我在上面没有看到这个答案。

如果您没有看到“差异”并且只能看到“与先前版本的差异”,这意味着您的本地副本与存储库中的副本相同,并且没有显示任何差异,因此没有“差异”选项。

希望这能回答您的问题。

This seems to be an old thread, however I would like to answer this as I do not see this answer above.

If you are not seeing 'diff' and only able to see 'Diff with previous version' this means your local copy is identical to what in repository and there is no difference to show, hence no 'diff' option.

Hope this answer your question.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文