Friday, April 2, 2010

Clearcase Client Commands





Configure user aliases:
File: $HOME/.bashrc

alias ct=/usr/atria/bin/cleartool
alias sv='/usr/atria/bin/cleartool setview'
umask 022

File: $HOME/.cshrc

alias ct /usr/atria/bin/cleartool
alias sv '/usr/atria/bin/cleartool setview'
umask 022


alias .. 'cd ..'
alias ... 'cd ../..'

alias shw 'ct lsco -rec -me -cview /vobs/HW'
alias sst 'ct lsco -rec -me -cview /vobs/HWStage'

alias ll 'ls -alt --color=auto'
alias ct 'cleartool'
alias ctll 'ct ls'
alias ctsv '/home/xviengu/bin/ctsv.sh'
alias ctrv 'ct rmview -tag'
alias sv 'ct setview'
alias ev 'ct endview'
alias scs 'ct setcs'
alias ccs 'ct catcs'
alias edcs 'ct edcs'
alias pwv 'ct pwv'
alias myview 'cleartool lsview | grep $USER'

cleartool lsview -long xviengu_apz15_dummy
[xviengu@seasx031 /home/xviengu]# cleartool lsview -long xviengu_apz15_dummy
Tag: xviengu_apz15_dummy
  Global path: /cc/seasna06_view11/xviengu_apz15_dummy.vws
  Server host: seasx012.rnd.as.sw.ericsson.se
  Region: ASUAB
  Active: NO
  View tag uuid:0e8a50d0.d4f111df.96e5.00:01:84:85:db:c4
View on host: seasx012.rnd.as.sw.ericsson.se
View server access path: /cc/seasna06_view11/xviengu_apz15_dummy.vws
View uuid: 0e8a50d0.d4f111df.96e5.00:01:84:85:db:c4
View owner: rnd.as.sw.ericsson.se/xviengu


cleartool rmview -vob /cc/seasna06_view11/ -uuid 0e8a50d0.d4f111df.96e5.00:01:84:85:db:c4


cleartool rmtag -view xviengu_apz15_dummy  <========== good
ct unregister -view /cc/seasna06_view11/xviengu_apz15_dummy.vws





See more: http://www.yolinux.com/TUTORIALS/ClearcaseCommands.html
https://publib.boulder.ibm.com/infocenter/cchelp/v7r1m2/index.jsp?topic=/com.ibm.rational.clearcase.ccrc.help.doc/topics/u_ccchangeset.htm

Tags: Clearcase commands, cmd, alias, cleartool, setview


No comments:

Post a Comment

Labels