Is there any way to update a CC snapshot view (after changing the config spec) with the newer config spec removing some files from the view that existed with the previous config spec?
Basically what happens is that after the update I have numerous .keep folders/files and I know upfront that I do not want to have these.
Right now I do a cleartool.exe update -force -overwrite 'path to snapshotview', but I was wondering whether there's an option to prevent creation of .keep artifacts?
Not to my knowledge:
You need to explicitly specify the
-overwriteoption for thecleartool updatecommand to be sure no .keep will be generated (associated with-forceas you mention in your question).The only option you can unselect to avoid
.keepfile if for the undo-checkout (where you can specify you don't want backup file by default).That doesn't apply to view updates though.