Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwsubmit problem
deepak
I have a requirement where I need to clean up the " Staging" area of a branch. To do this I created a empty workarea and did a forced submit via command line
/usr/iw-home/bin/iwsubmit -w -u -r /default/main/www/WORKAREA/clean 'Cleanup staging content'
However the command failed saying something like " checkout files prevent submission" . I assumed "-w" flag would have blindly overwritten Staging after comparing it to a empty workarea however thats doesn't seem to be the case.
Any help will be appreciated.
Thanks
Find more posts tagged with
Comments
james1
If other workareas on that branch have locks on files, then you will not be able to submit that file (or, rather, the absence of that file) from your empty workarea. Make sure that all the other workareas have their locks removed before performing your submit.
-- James
--
James H Koh
Interwoven Engineering
deepak
James,
I had included the "-u" flag for that purpose in the command. I had also listed all the locks in the branch and unlocked them before I ran the command but the result was the same.
james1
The "-u" flag, I believe, is intended to unlock files that are locked in the workarea from which the files are being submitted. I was referring you to locks in *other* workareas, which you say you've already taken care of. Good.
> However the command failed saying something like " checkout
> files prevent submission"
Can you please be more precise? i.e., could you cut-and-paste your command line and the CLT's output?
-- James
--
James H Koh
Interwoven Engineering
Migrateduser
If you don't have a lot of workareas on the branch, and the editions and history of the files that used to be there can be discarded, and there are not a lot of workareas that would need to be recreated, consider just removing the branch and creating it again. Submitting an empty workarea to staging will not free up any space in the backing store, as the history of the deleted files is not removed.