ClearCase: change branch type name?

落爺英雄遲暮 提交于 2019-12-03 11:45:06

You can rename a brtype with the ct rename command.

cleartool rename brtype:oldname@\vob newname

But you will need to:

  • change the config spec of your view (non-UCM): no side-effect on checked out files
  • or change the name of the stream, remove and recreate your view no the new Stream name (UCM). Your checked-out files still have their checked-out status, but you have to save their local modified content first to re-apply that content to the new view.

Following command may be useful

$ cleartool rename brtype:OLD brtype:NEW

The methods listed previously probably work, but I just wanted to show the way I did it.

Usage:

cleartool chtype -nc new_branch "filepath@@old_branch"

Example:

cleartool chtype -c "Better name" maintenance "main.c@@\main\branch"

Note: -nc is no comment

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