Prevent 'cleartool.exe update' on snapshotview to leave .keep files & folders?

852 Views Asked by At

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?

1

There are 1 best solutions below

3
On

Not to my knowledge:

You need to explicitly specify the -overwrite option for the cleartool update command to be sure no .keep will be generated (associated with -force as you mention in your question).

The only option you can unselect to avoid .keep file 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.