HomeSoftware Heritage

Fix IsochroneNode hash calculation

Description

Fix IsochroneNode hash calculation

There was a bug as the previous implementation was considering mutable attributes.
This fix allows to replace the list of children by a set instead. Also, all uses
of hash_to_hex were removed from the graph module in favour of bytes' hex method.

Details

Provenance
aevisoAuthored on Jun 21 2021, 2:42 PM
aevisoPushed on Jun 22 2021, 10:50 AM
Differential Revision
D5886: Refactor origin-revision layer
Parents
rDPROVacebbfcf4527: Remove `hash_to_hex` usage in the revision-content layer
Branches
Unknown
Tags
Unknown
Build Status
Buildable 22180
Build 34517: test-and-buildJenkins console · Jenkins