Running this command gives an error in Windows:
H:\>cleartool describe -fmt "%[object_kind]p" "M:\\my_cc_view\\"
it gives:
cleartool: Error: Unable to access "M:\\my_cc_view\": Input/output error.
Running the same command on a vob works:
H:\>cleartool describe -fmt "%[object_kind]p" "M:\\my_cc_view\\vob1"
directory version
H:\>cleartool describe -fmt "%[object_kind]p" "M:\\my_cc_view\\vob2"
directory version
In Linux it gives:
; cleartool describe -fmt "%[object_kind]p" /view/my_cc_view/vobs/
; null meta type**
I’ve been unable to find if this is a bug in clearcase, the closest one I could find was this.
It seems that running a describe on the the vobroot element is is a special case we must handle separately, is there a way to check if the path is the root?
Views, vobs, label types, branch types (etc) are referenced directly as follows. In the docs these are called “object-selector”.
See
cleartool describeman page.Also, try a dot at the end to get the root directory element of a given vob.