HomeSoftware Heritage

svn: Ensure proper incremental loading of a repository

Description

svn: Ensure proper incremental loading of a repository

When performing an incremental loading of a subversion repository, i.e. only
load new revisions issued since the last loading, we need to replay the whole
set of path modifications since the first revision in order to restore possible
file states induced by setting svn properties on those files.

For instance if a file got the svn:eol-style property set in a revision lesser
than the last one loaded into the archive, we will miss that information if
we do not start replaying the paths modifications since the first revision.

So ensure to replay path modifications since first revision and start yielding
new data to archive once we reached the revision to resume the loading from.

Details

Provenance
anlambertAuthored on Nov 18 2021, 10:44 PM
anlambertPushed on Nov 19 2021, 12:00 PM
Differential Revision
D6661: svn: Ensure proper incremental loading of a repository
Parents
rDLDSVNc9aaa314df27: loader: Ensure to reload from first revision when history got altered
Branches
Unknown
Tags
Unknown
Build Status
Buildable 25083
Build 39193: test-and-buildJenkins console · Jenkins