checkout: ensure subdirs are deleted before parent dir#601
Conversation
|
Hi @skshetry , For more information, analysis of the linked issue's cause revealed the following: To prevent this, we now perform reverse sorting beforehand to ensure that child directories targeted for removal are attempted first. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #601 +/- ##
==========================================
+ Coverage 72.42% 73.53% +1.10%
==========================================
Files 67 66 -1
Lines 5132 5037 -95
Branches 605 588 -17
==========================================
- Hits 3717 3704 -13
+ Misses 1227 1144 -83
- Partials 188 189 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thank you for contributing. :) |
See treeverse/dvc-data#601 that fixed the issue. The test is based on reproduction steps from: treeverse#4344 (comment)
See treeverse/dvc-data#601 that fixed the issue. The test is based on reproduction steps from: #4344 (comment)
Fixes iterative/dvc/#4344