Page MenuHomeSoftware Heritage

replay: Prevent removal of external paths overlapping versioned ones
ClosedPublic

Authored by anlambert on Jan 19 2022, 2:38 PM.

Details

Summary

Some external paths might have been removed in the current replayed
revision by a delete operation on an overlapping versioned path so
we need to restore them or the reconstructed filesystem will differ
with the one obtained by a svn export operation on that revision.

Related to T611

Diff Detail

Repository
rDLDSVN Subversion (SVN) loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6977 (id=25305)

Rebasing onto 5df02d6aae...

Current branch diff-target is up to date.
Changes applied before test
commit 11740ebc29934d600b196144724ed33679596b88
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Wed Jan 19 14:34:53 2022 +0100

    replay: Prevent removal of external paths overlapping versioned ones
    
    Some external paths might have been removed in the current replayed
    revision by a delete operation on an overlapping versioned path so
    we need to restore them or the reconstructed filesystem will differ
    with the one obtained by a svn export operation on that revision.
    
    Related to T611

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

This revision is now accepted and ready to land.Jan 19 2022, 4:49 PM