SVN(Eclipse 中的颠覆性) - 将分支与主干进行比较?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5801639/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:14:02  来源:igfitidea点击:

SVN (Subversive in Eclipse) - compare branch to trunk?

eclipsesvnsubversive

提问by eagerMoose

I used to work with CVS where it was no problem to compare HEAD to any branch, branch to branch or branch to HEAD. Now on SVN I have some changes on trunk I need to put on a branch, but can't seem to find an option to compare given branch to trunk.

我曾经在 CVS 中工作,将 HEAD 与任何分支、分支与分支或分支与 HEAD 进行比较都没有问题。现在在 SVN 上,我对主干进行了一些更改,我需要放在一个分支上,但似乎找不到将给定分支与主干进行比较的选项。

Is it possible to have a branch project in workspace and compare it to trunk?

是否可以在工作区中有一个分支项目并将其与主干进行比较?

回答by vinnyjames

right-click on the project and choose Compare With, Branch/Tag(this is with subclipse)

右键单击项目并选择Compare With, Branch/Tag(这是带有 subclipse)

enter image description here

在此处输入图片说明

APPENDED

附加

What version of the svn client are you using? When I open the Compare With dialog on a project checked out from branch it lets me enter any URL (including trunk) and any revision to compare it to.

您使用的是什么版本的 svn 客户端?当我打开从分支签出的项目上的“比较”对话框时,它允许我输入任何 URL(包括主干)和任何修订以进行比较。

enter image description here

在此处输入图片说明