Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9311894
D4996.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
544 B
Subscribers
None
D4996.diff
View Options
diff --git a/swh/scanner/benchmark_algos.py b/swh/scanner/benchmark_algos.py
--- a/swh/scanner/benchmark_algos.py
+++ b/swh/scanner/benchmark_algos.py
@@ -255,7 +255,11 @@
for node in all_nodes:
if node.otype == CONTENT and not node.known:
- all_nodes_copy.remove(node)
+ remove_parents(node, all_nodes_copy)
+
+ all_nodes.reverse()
+ for node in all_nodes:
+ if node.otype == DIRECTORY and not node.known:
remove_parents(node, all_nodes_copy)
for node in all_nodes_copy:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 10:35 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3230304
Attached To
D4996: algo_min: delete the upstream directories if a (sub)directory is unknown
Event Timeline
Log In to Comment