问题
I'm new to scripting. I came across this, I have to create a label for file while checking out I tried command mklabel
but it did not work for me. I think I'm not using it in right format. I work on Unix environment and version control is Rationale ClearCase.
Before checking I have to create a label .
cleartool checkout -c "add a" /vob/sample/DataAnlysis/datasets/request_anlysis.sas7bdat
cleartool checkin -c "add a" /vob/sample/DataAnlysis/datasets/request_anlysis.sas7bdat
回答1:
You don't need to checkout/checkin a file in order to use cleartool mklabel:
cleartool mklabel your_label /path/to/your/File
You can see that command use in order to label multiple files in:
- "clearcase - apply label over multiple labels"
- "Cleartool: How to apply label to files which are in my current view only?"
来源:https://stackoverflow.com/questions/24920530/ibm-rationale-clearcase-label