Best Practice for Versioning and Merging
Posted: Mon Jun 24, 2013 8:34 am
Hi,
we have several branches in our project. In that branches we needed to change reports in parallel. The reports are checked in as files and versioned through our SCM.
The problem comes when trying to merge different branches (and thus: reports)
The problem is that despite sometimes only small changes were made, the diff shows massive changes, so the diff is useless.
That's probably due to the designer's save behaviour.
We try to avoid working in parallel on the reports in certain branches, but sometimes it's neccessary. Currently we must change all reports by hand, which is obviously not good.
#1 - is there are possibility to "normalize" the report file, so diff makes sense again?
#2 - is there a best practice how to handle such a situation?
EDIT: one thing that the designer changes is the order of the properties of the business objects. I was able to build a small repair program that orders all properties, so that there are no false positives in the diff, but the "Ref"s are still a problem. I guess when saving the designer it starts enumerating from zero, so the refs between two report versions can be completely different when some objects are inserted into the reports at different positions.
Thank's for help.
we have several branches in our project. In that branches we needed to change reports in parallel. The reports are checked in as files and versioned through our SCM.
The problem comes when trying to merge different branches (and thus: reports)
The problem is that despite sometimes only small changes were made, the diff shows massive changes, so the diff is useless.
That's probably due to the designer's save behaviour.
We try to avoid working in parallel on the reports in certain branches, but sometimes it's neccessary. Currently we must change all reports by hand, which is obviously not good.
#1 - is there are possibility to "normalize" the report file, so diff makes sense again?
#2 - is there a best practice how to handle such a situation?
EDIT: one thing that the designer changes is the order of the properties of the business objects. I was able to build a small repair program that orders all properties, so that there are no false positives in the diff, but the "Ref"s are still a problem. I guess when saving the designer it starts enumerating from zero, so the refs between two report versions can be completely different when some objects are inserted into the reports at different positions.
Thank's for help.