Page MenuHomeSoftware Heritage

HgLoaderFromDisk: Simplify store_content using model.Content.from_data()
ClosedPublic

Authored by vlorentz on Mar 29 2021, 2:27 PM.

Details

Summary

Instead of using hashutil.MultiHash directly and converting to model.Content.

Diff Detail

Repository
rDLDHG Mercurial loader
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 20318
Build 31544: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 31543: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D5373 (id=19247)

Rebasing onto a62318d725...

Current branch diff-target is up to date.
Changes applied before test
commit 020791c464b79479b2c200f5d4568f512b1e905e
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Mar 29 14:27:10 2021 +0200

    HgLoaderFromDisk: Simplify store_content using model.Content.from_data()
    
    Instead of using hashutil.MultiHash directly and converting to model.Content.

See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/191/ for more details.

This revision is now accepted and ready to land.Mar 29 2021, 5:00 PM