Reputation: 79635
I used mkbrtype BRANCH_NAME
, checked out a few files, had some check-ins, etc. Now I discovered I had a typo in the branch name, and it looks pretty ugly. Is there a way I can change the branch name and still have all the versions/checkouts under it? I'm the only one using it.
Upvotes: 14
Views: 14182
Reputation: 2461
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
Upvotes: 4
Reputation: 1587
Following command may be useful
$ cleartool rename brtype:OLD brtype:NEW
Upvotes: 6
Reputation: 1324337
You can rename a brtype
with the ct rename
command.
cleartool rename brtype:oldname@\vob newname
But you will need to:
Upvotes: 13