**On a machine I'm working on, there's this view we shall call magic_view
- which exhibits the following strange behavior:
$ ct lsview magic_view
magic_view /view_store/our_team_vws/magic_view.vws
$ ct catcs -tag magic_view
ct: Error: View tag "magic_view": ClearCase object not found
Now, magic_view
was not created by me, so I'm guessing something strange happened to it. But - what? What could cause a view to be visible for lsview
but unknown for catcs
?
That means the view has been registered (cleartool register -view
)
But its tag has not been declared (cleartool mktag -view
)
cleartool register -view -replace -host newhost -hpath hpath/xxx.vws /hpath/xxx.vws
ct mktag -view -replace -tag tag -host newhost -gpath gpath gpath
The tag part of this picture is missing in your case:
You can see more cleartool mktag -view
examples here.
Its tag might be missing from the client region:
Example: to create a windows tag from a UNIX server, for a ClearCase View with its view storage on a NAS device:
cleartool mktag -view -tag samecs_view -region samecs_win -host view_server_host.samecs.com \
-gpath "\\\\samecs\\ccviewstore \\gbush_view.vws" \
-hpath "\\\\samecs\\ccviewstore \\gbush_view.vws" \
/net/samecs/ccviewstore/gbush_view.vws
As Brian Cowan adds in the comments, using the rgy_check
command can help.
That will tell you about cc registry issues.
At one time, there were issues getting the configspec of snapshot views if you weren't actually IN the view, but that currently works.