开发者

How can I programmatically access old revisions of a project in an Eclipse plug-in?

开发者 https://www.devze.com 2023-04-12 00:04 出处:网络
I\'m writing an Eclipse plug-in that visualizes the history of a project, so I\'m looking for ways to programmatically use the CVS/SVN/Git plug-ins in Eclipse to get the source-code history of a proje

I'm writing an Eclipse plug-in that visualizes the history of a project, so I'm looking for ways to programmatically use the CVS/SVN/Git plug-ins in Eclipse to get the source-code history of a project. Ideally, I would want to re-use the existing Wizards to set up the repository, and then somehow grab all the code / tags and do my visualization.

(I'm familiar with Eclipse plug-in development, but I'开发者_Go百科ve never used any of the Team Provider APIs.)


Look at the RepositoryProvider class. The documentation in the help in the Platform Plugin Devloper guide under Team support is pretty good.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号