HomeSoftware Heritage

replay: Fix handling of directory symlink in external

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

replay: Fix handling of directory symlink in external

As we use distutils.dir_util.copy_tree to copy an external exported
in a cache directory to the reconstructed filesystem of the subversion
repository, we need to ensure sub-directories of the external will
exist in the destination path to avoid copy errors.

However, if a sub-directory is a symlink, we must not create the
directory in the destination path as copy_tree will fail attempting
to recreate the symlink.

Details

Provenance
anlambertAuthored on Mar 21 2022, 5:12 PM
anlambertPushed on Mar 22 2022, 10:53 AM
Differential Revision
D7402: replay: Fix handling of directory symlink in external
Build Status
Buildable 27644
Build 43273: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.