Support new repositories with old branches
You can have a branch that does not support tags located in a repository that has the newest format. This fixes #3963 (closed).
I've duplicated the check that the upgrade is actually done
in test_needs_upgrade
, since the test would pass fine with an already
upgraded repo, albeit with a lower coverage.
Migrated from D7208 (view on Phabricator)