HomeSoftware Heritage

Support new repositories with old branches

Description

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 T3963.

The check that the upgrade is actually done is duplicated
in test_needs_upgrade, since the test would pass fine with an already
upgraded repo, albeit with a lower coverage.

Details

Provenance
AlphareAuthored on Feb 21 2022, 3:52 PM
AlpharePushed on Feb 21 2022, 4:30 PM
Differential Revision
D7208: Support new repositories with old branches
Parents
rDLDBZR77fd211f4ded: loader: Upgrade repository with old formats prior loading
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
Build Status
Buildable 27006
Build 42225: test-and-buildJenkins console · Jenkins