Java 如何在 Eclipse 中查看最近的 CVS 项目更改?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/559326/
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
How to view recent CVS project changes in Eclipse?
提问by tomato
Is there a way in Eclipse to view all recent changes of a project? Like in SVN, you can just go "view log" on a right-click menu of a folder. In CVS/Eclipse, I can only view history on a certain file. I am not able to see what files were changed in the last commit. >.<''
在 Eclipse 中有没有办法查看项目的所有最近更改?就像在 SVN 中一样,您可以在文件夹的右键单击菜单上“查看日志”。在 CVS/Eclipse 中,我只能查看某个文件的历史记录。我无法看到上次提交中更改了哪些文件。>.<''
Thank you!
谢谢!
采纳答案by Uri
I don't think it's supported through the standard Eclipse plugin.
我认为标准 Eclipse 插件不支持它。
There was a sourceforge projectthat tried to augment this functionality, not sure if it's still actively being maintained.
有一个sourceforge 项目试图增强此功能,不确定它是否仍在积极维护中。
回答by VonC
As mentioned in this threador in the CVS FAQ:
如本主题或 CVS 常见问题中所述:
"see what files were changed in the last commit":
“查看上次提交中更改了哪些文件”:
Would that not be the equivalent of selecting the "Compare With>Another Branch or Version
" operation from the context menu of the project ?
难道这不等同于Compare With>Another Branch or Version
从项目的上下文菜单中选择“ ”操作?
回答by Valters Vingolds
You could do diff based on time. See what changes have been committed during last couple days, for example.
你可以根据时间做差异。例如,查看最近几天提交的更改。
It's rather awkward in Eclipse, but you can go into CVS Repositories view, click "Dates", enter the "from" date, and then navigate to project you want to find changes, choose "Compare With" and choose "to" date. And then you will see changes that happened during that time.
这在 Eclipse 中相当笨拙,但您可以进入 CVS Repositories 视图,单击“Dates”,输入“from”日期,然后导航到要查找更改的项目,选择“Compare With”并选择“to”日期。然后你会看到在那段时间发生的变化。
回答by DejanR
Until I don't have plugin that can do the job from Eclipse, I use file history from the ROOT of the repository.
在我没有可以从 Eclipse 完成这项工作的插件之前,我使用存储库根目录中的文件历史记录。
If You not see file history in ROOT then create it with
如果您在 ROOT 中看不到文件历史记录,请使用以下命令创建它
REPOSITORY_HOME\CVSROOT>echo>history
After that all actions on the repository will be saved in form:
之后,存储库上的所有操作都将以以下形式保存:
u4f2c09af|dejanr|MyPC|src|1.5|Main.java|
Note:all users need to have rw rights to 'history' file
注意:所有用户都需要拥有“历史”文件的 rw 权限
回答by Spirit
I don't find nothing insiede the tool in Eclipse. I prefer to use CommitMonitorto monitor SVN History of project (entire project, branch/s, tag/s). It runs in systemtray and advert you every seconds.
我在 Eclipse 中找不到任何与该工具相关的内容。我更喜欢使用CommitMonitor来监控项目的 SVN 历史(整个项目,分支/s,标签/s)。它在系统托盘中运行并每秒钟向您发送广告。
回答by Matija Han
Doing this turned out surprisingly simple for me:
这样做对我来说非常简单:
- In SVN Repositoriesview, right click any directory, including repository root
- Pick Show historyfrom the context menu
- Revisions will be shown in the Historyview, like Show login Tortois
- 在SVN Repositories视图中,右键单击任何目录,包括repository root
- 从上下文菜单中选择显示历史记录
- 修订将显示在历史视图中,例如在 Tortois 中显示日志
回答by srupane
right click on project team->synchronize repository
右键单击项目团队-> 同步存储库