[MRM-980] add implementation and test case for repository merger submitted by Patti Arachchige Eshan Sudharaka