Feature 2574

Add mdes version aware branch.