I want to go through all of the work package branches that belong to me in a particular vob and mark them as obsolete.
These are development branches that I don’t need anymore, and would rather not see in the default version tree.
My solution below works because I name all of my development/work package branches with a particular prefix.
Let’s say my prefix is dev_userName.
So, here’s the command.
for b in $(ct lstype -kind brtype -short | grep dev_usrName)
ct lock -obsolete brtype:$b