Which tag or branch is created from a particular branch

一曲冷凌霜 提交于 2020-01-03 02:52:15

问题


In ClearCase suppose I have a branch App_Feb_Branch. Now I want to know if any Tag or Label has been created from this branch. How can I get this information?


回答1:


You can list baselines (for ClearCase UCM) or grep for version with a label (for base ClearCase).

See "Command to find labels applied on particular branch":

ct find . -nrec -name "." -ver "brtype(myBranch)" -exec "cleartool descr -fmt "%l" \"%CLEARCASE_XPN%\""

With fmt_ccase formatting options, you can use the %l to only display labels for the versions found.

That is what the cleartool descr -fmt "%l" \"%CLEARCASE_XPN%\" part of the cleartool find above does.



来源:https://stackoverflow.com/questions/22633958/which-tag-or-branch-is-created-from-a-particular-branch

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!