When a svn link targets a directory, ensure to not read the
associated path to avoid IsADirectoryError being raised.
This fixes SWH-LOADER-SVN-4B.
Differential D6726
ra: Fix error when processing svn link on directory anlambert on Dec 2 2021, 1:39 PM. Authored by
Details
When a svn link targets a directory, ensure to not read the This fixes SWH-LOADER-SVN-4B.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6726 (id=24444)Rebasing onto 90decdc134... Current branch diff-target is up to date. Changes applied before testcommit d8c5e8095fd4151bf9ea214e2e4ccd4ef18a59ca Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu Dec 2 13:37:16 2021 +0100 ra: Fix error when processing svn link on directory When a svn link targets a directory, ensure to not read the associated path to avoid IsADirectoryError being raised. See https://jenkins.softwareheritage.org/job/DLDSVN/job/tests-on-diff/210/ for more details. Comment Actions lgtm @stsp by the way, you might be interested by this kind of diff. This shows how to @anlambert did some recent improvment to define a readable/understandable DSL over svn [1] That was how were defined the initial tests and well, that 1. takes space and 2. That's just a heads up. Cheers, |