The cleartool unreserve command do mention taking as parameter 'pname...
':
One or more pathnames, each of which specifies an element.
The checkout in the current view is changed, unless you use a view-extended pathname to specify another view
So if you are in the right view, you don't need the -view
.
And pname
is supposed to represent a checked out (reserved) element.
and if you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
That is why '*
' doesn't work in a cmd Windows session.
If is better to find all elements checkouts, and pass each element to a cleartool unreserve line (similar to this answer).
Or, as in this question (and using Gnu On windows):
cleartool lsco -a -s -cview | xargs cleartool unreserve
But: if the view is no longer accessible or available, another solution would be to remove comlpetely the "checked out" status for those files: See "How to recover checked out file in Clearcase?"
cleartool mount \myVob
cd m:\mynewView\myVob
cleartool rmview -force -uuid old_view_uuid
To find the uuid of your old view, try a:
cleartool descr -l vob:\myVob
And look for a view storage path including your old view name in it.