HomeSoftware Heritage

replay: Robustify external path removal implementation

Description

replay: Robustify external path removal implementation

When removing the subpaths of an external path, we first need to check
if a subpath is not versioned instead of checking if it is empty.

If a subpath is versioned, we can stop the paths removal process.

Relate to T3870

Details

Provenance
anlambertAuthored on Jan 21 2022, 5:01 PM
anlambertPushed on Jan 21 2022, 6:34 PM
Differential Revision
D7017: replay: Robustify external path removal implementation
Parents
rDLDSVNeb34b0c059ea: replay: Use peg_rev parameter of client.export instead of rev
Branches
Unknown
Tags
Unknown
Build Status
Buildable 26282
Build 41089: test-and-buildJenkins console · Jenkins