Renamed projects leads to a 404 when pulling the old URL
Summary
When trying to pull a renamed project at its old URL, we get a 404 instead of Mercurial following the redirection.
Steps to reproduce
Example Project
https://heptapod.octobus.net/octobus-public/bighgperf was renamed into https://heptapod.octobus.net/octobus-public/scmperf.
What is the current bug behavior?
From a scmperf clone, try to pull https://heptapod.octobus.net/octobus-public/bighgperf:
hg pull heptapod
pulling from http://Lothiraldan@heptapod.octobus.net/octobus-public/bighgperf
abort: HTTP Error 404: Not Found
What is the expected correct behavior?
Mercurial should follow a redirection.
Relevant logs and/or screenshots
hg pull heptapod --debug
pulling from http://Lothiraldan@heptapod.octobus.net/octobus-public/bighgperf
using http://heptapod.octobus.net/octobus-public/bighgperf
http auth: user Lothiraldan, password not set
sending capabilities command
devel-peer-request: GET http://heptapod.octobus.net/octobus-public/bighgperf?cmd=capabilities
using auth.heptapod.* for authentication
devel-peer-request: finished in 0.0818 seconds (-1)
abort: HTTP Error 404: Not Found