获取 Subclipse 中的当前修订号?
虽然通常我使用 SVN 的 Subversive 插件 (Eclipse),但我决定尝试 Subclipse,它似乎更流行且文档更好。
我认为 Subversive 理所当然的一点是当前显示的修订号。 对于 Subversive,这在菜单旁边显示得非常清楚:
MyProject 43 [https://code.google.com...]
Subversive 有点不同,并且修订号无处可见:
MyProject [foo/trunk]
How can I get the revision number to be shown in Subclipse? 这是我开始依赖的东西..
While normally I use the Subversive plugin (Eclipse) for SVN, I've decided to try Subclipse, which seems to be more popular and better documented.
Something I've taken for granted from Subversive is the current revision number shown. With Subversive, this is shown very clearly next to the menu:
MyProject 43 [https://code.google.com...]
Subversive is a bit different and the revision number is nowhere to be seen:
MyProject [foo/trunk]
How can I get the revision number to be shown in Subclipse? It's something I've come to rely on..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
刚刚在我的 Galileo eclipse3.5RC4 中下载并安装了最新的 Subclipse 1.6.2。
在“Windows > 首选项 > 团队 > SVN > 标签装饰”中:
选项卡“文本”
将
{revision}
添加到“项目格式”行:让项目准确显示为:
另请参阅帮助页面,尽管最新的 1.6.2 插件对其首选项显示做了一些更改:
Just downloaded and installed the latest Subclipse 1.6.2 in my Galileo eclipse3.5RC4.
In "
Windows > Preferences > Team > SVN > Label decorations
":Tab "Text"
Add
{revision}
to the "Project Format" line:That would get the project to be displayed exactly as:
See also this help page, although the latest 1.6.2 plugin has changed a bit its preferences display: