Hi Mursalin,
Looks as if the following steps could help you:
- on the mainline revert the revisions that were made that are not necessary asnymore, Main Line will then become “clean” again
- restoring a backup on the test environment from before the changes can be usefull, that depends on the changes made in the mainline: for example if there are no domain model changes or only new entities or attributes in the main line changes a restore may not be necessary, if entities or attributes were removed then a restore would be preferable to get removed data back. Another example could be data changes made by the software to be reverted. So it depends on the kind of changes made.
- then merge the changes from maintenance to the main line and simply deploy again on the test environment. Previous changes will be overwritten (happens with each deploy)
Kind regards
Rob