如何找到给定标签的分支
我尝试使用:
cleatool lstype lbtype:some_label
但输出没有告诉我标签位于哪个分支。
所以我需要你的帮助。
I try to use:
cleatool lstype lbtype:some_label
but the output does not tell me which branch the label is in.
So I need your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
标签不与分支相关联,而是与版本相关联。
这些版本可以在不同的分支上创建。
如果您的标签是 UCM 基线,那么您可以通过键入以下内容轻松找到流(以及相应的分支):
但如果它是非 UCM 标签,您需要显示该标签已放置的版本的分支给定的 VOB(您也可能在不同的 VOB 上设置了该标签)
一些查询如下:(
lbtype_sub
而不是lbtype
因为正在查询的类型(标签)不适用到正在查询的“级别”(-branch
)。这里,使用 -branch 查询标签...标签仅在元素和分支内的版本上。如果您有 Cygwin 或 GnuWin32,则可以。细化为仅显示分支:
A label is not associated with a branch but with versions.
And those versions can be created on various branches.
If your label is an UCM baseline, then you can easily find the stream (and the corresponding branch) by typing:
But if it is a non-UCM label, you need to display the branches of the versions where that label has been put for a given VOB (and you may have set that label on different VOB too)
Some query like:
(
lbtype_sub
and notlbtype
because the type being queried (label) does not apply to the "level" (-branch
) being queried. Here, query for a label using -branch ... labels are only on versions within elements and branches.If you have Cygwin or GnuWin32, you can refine to only display the branches: