在 Subversion 中比较/找出跨分支的更改文件

发布于 2024-08-19 22:15:44 字数 208 浏览 5 评论 0原文

我目前正在从 Subversion 中开发我的项目版本。我有一个分支,它是该项目的旧版本。我现在需要找出哪些文件已更改以及它们的更改是什么。

我想知道有什么方法可以查到吗?是否需要特殊工具来执行此操作,或者只需要常规命令?我有兴趣了解如何执行此操作的步骤和命令。

我已将 Subversion 集成到 Visual Studiou 2008 中。

谢谢。

I'm currently working off the version of my project from the head from Subversion. I have a branch which is an older version of the project. I now need to find out which files have changed and what are their changes.

I was wondering are there any ways to find out? Are there special tools required to do so, or just regular commands? I'm interested in finding out the steps and command on how to do it.

I have Subversion integrated into Visual Studiou 2008.

Thanks.

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

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

发布评论

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

评论(2

小巷里的女流氓 2024-08-26 22:15:44

请参阅 SVN 手册了解 svn diff命令。第三种用法可能应该达到你想要的效果:

svn diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]

See the SVN manual for the svn diff command. The third usage should probably achieve what you want:

svn diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]
你是年少的欢喜 2024-08-26 22:15:44

如果有帮助的话,您可以使用合并向导来找出可以合并到分支的内容。

  • 右键单击解决方案
  • Subversion ->合并
  • 选择“合并一系列修订”
  • 选择“选择下一页上的修订”并选择另一个分支(不是您当前正在处理的分支)

出现的下一页旨在使用您想要的修订合并。它仅列出可以合并的修订(尚未合并)。您可以查看修订版以及每个修订版中的更改文件。如果右键单击或双击文件,您可以查看文件/修订版中的更改。

You can use the merge wizard to figure out what can possibly be merged to the branch if that helps.

  • Right click the solution
  • Subversion -> Merge
  • Choose "Merge a range of revisions"
  • Choose "Select revisions on the next page" and choose the other branch (not the one you're currently working on)

The next page that comes up is meant to be used what revisions you want to merge. It lists only the revisions that can be merged (that haven't been merged yet). You can look through the revisions, and the changes files in each revision. If you right click or double click on a file, you can take a look at the changes in the file/revision.

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