HomeSoftware Heritage

loader: don't ignore closed branches

Description

loader: don't ignore closed branches

The existing util for getting a repo's branches skips closed branches
but did not leave any explanation why, either in the code or in the
commit message. I cannot think of a good reason for ignoring closed
branches, so we're removing this exception, which in turn fixes the
incremental issue detailed in T3336.

This has affected existing tests of the two repositories that had closed
branches. A test for the incremental behavior was added as well.

Details

Provenance
AlphareAuthored on May 27 2021, 11:49 AM
AlpharePushed on May 27 2021, 2:50 PM
Differential Revision
D5790: loader: don't ignore closed branches
Parents
rDLDHGcce9ec940ef2: new-loader: don't cleanup repo if source is local
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21661
Build 33665: test-and-buildJenkins console · Jenkins