Page MenuHomeSoftware Heritage

Fix load status when no changes in repository since last visit
ClosedPublic

Authored by anlambert on Tue, Sep 10, 2:13 PM.

Details

Summary

Fix returned load status when no changes have been introduced in a Mercurial repository
since the last visit by Software Heritage.

The loader now checks if the resulting snapshot is different from the one produced during
the last visit to determine the load status.

Related T1989

Test Plan

A new test has been added.

Diff Detail

Repository
rDLDHG Mercurial loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Tue, Sep 10, 2:13 PM
olasd accepted this revision.Tue, Sep 10, 2:15 PM
This revision is now accepted and ready to land.Tue, Sep 10, 2:15 PM
This revision was automatically updated to reflect the committed changes.