Archive for July, 2013

Revert a branch to a specific edition

– submit the content of your workarea to ensure your work gets recorded in an edition

– publish an edition

– create a temporary workarea named "tmp_current", based on the last edition you just published

– create a temporary workarea named "tmp_revert", based on the edition you want to revert to (e.g. ed_0001).

– submit the entire "tmp_revert" workarea, with overwrite all flag on.

– compare the "tmp_revert" workarea with the content of the "tmp_current" workarea

– delete the files in the "tmp_current" workarea that show only in "tmp_current" and not in the "tmp_revert" workarea

– submit the modified files in "tmp_current"

– compare the edition you wanted to revert to (e.g. ed_0001) with STAGING. there should be no differences.

Advertisements