Compare to Previous URL not updated with external_url change
Summary
When the external_url is changed in the gitlab.rb config file, most links in the Web interface are updated as well.
In a Merge Request, the Compare to previous versions url is not updated and retains the original external_url
Steps to reproduce
- Open merge request
- Push revision to merge request branch
- Note that the
Compare to previous versionurl is relative to the currentexternal_url - modify
external_urland reconfigure - Note that the
Compare to previous versionurl is relative to the previousexternal_url
What is the expected correct behavior?
This url should be relative to the current external_url after the URL has been changed.