We have a workflow that copies files from one workarea to another - like a "pre-staging" area. Sometimes we need to "unmerge" the files from this second workarea.
I am using a test case of modifying an existing file, creating a new file and deleting a file.
These are multiple workareas on the same branch - yes? Presumably you are not using SitePublisher / LiveSite - correct?(If you are, you should know that SitePublisher only supports a single workarea per branch)Please elaborate on where (which workarea) files were modified, created, and/or deleted in preparation for your various tests. It's difficult to evaluate what you are doing without that information.
Command : /interwoven/TeamSite/bin/iwupdate -w -r /default/main/test/STAGING/existing.txt /default/main/test/WORKAREA/int/existing.txt 2>&1
Command : /interwoven/TeamSite/bin/iwupdate -w -r /default/main/test/WORKAREA/dev/existing.txt /default/main/test/WORKAREA/int 2>&1
Your original post indicated that you are trying to do an update across workareas ("dev" to "int"?) - but your example usage shows you doing an update from staging to the "int" workarea.Unless I misunderstood - and the problem wasn't the initial updating of one workarea to another, but the restoration of the original files in the target workarea if (for whatever reason) you wanted to back out the change that had been copied over there.If that's the case - please indicate whether the files you copied over from workarea to workarea have already been submitted to staging or whether staging still contains the files that you want restored to the target workarea?