在Subclipse中获取当前版本号? [英] Get current revision number in Subclipse?
问题描述
虽然通常我使用SVN的Subversive插件(Eclipse),我已经决定尝试Subclipse,这似乎更受欢迎,更好的记录。
我认为Subversive是理所当然的修改号。使用Subversive,这在菜单旁边显示得非常清楚:
MyProject 43 [https://code.google.com。 ..]
Subversive有点不同,修订版号无处可见:
MyProject [foo / trunk]
如何在Subclipse中显示修订号?这是我来的依赖...
刚刚下载并安装了最新的Subclipse 1.6.2在我的伽利略eclipse3 .5RC4。
在 Windows>首选项>团队> SVN>标签装饰
: / p>
TabText
添加 {revision}
到项目格式行:
{dirty_flag} {name} {revision} [{url_short}]
这将使项目正确显示为:
MyProject 43 [https://code.google.com ...]
另请参阅这个帮助页面,虽然最新的1.6.2插件更改了其偏好设置:
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..
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:
{dirty_flag}{name} {revision} [{url_short}]
That would get the project to be displayed exactly as:
MyProject 43 [https://code.google.com...]
See also this help page, although the latest 1.6.2 plugin has changed a bit its preferences display:
这篇关于在Subclipse中获取当前版本号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!