Page MenuHomeSoftware Heritage

Fix support of VCSs whose HEAD branch is an alias.

Authored by vlorentz on Jan 7 2020, 5:46 PM.



Removing these methods causes the indexer to fall back to
the default (_try_get_head_generic), which already does
the right thing.

Diff Detail

rDCIDX Metadata indexer
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Jan 7 2020, 5:46 PM
vlorentz updated this revision to Diff 8902.Jan 7 2020, 5:49 PM

update comment

olasd accepted this revision.Jan 7 2020, 5:51 PM
olasd added a subscriber: olasd.

All this logic should probably end up in, because I'm sure swh.web also has a subtly different algorithm to pick a default branch.

This revision is now accepted and ready to land.Jan 7 2020, 5:51 PM
This revision was automatically updated to reflect the committed changes.