Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9341699
D6660.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
928 B
Subscribers
None
D6660.diff
View Options
diff --git a/swh/loader/svn/loader.py b/swh/loader/svn/loader.py
--- a/swh/loader/svn/loader.py
+++ b/swh/loader/svn/loader.py
@@ -289,7 +289,7 @@
self.svnrepo.remote_url,
revision_start,
)
- revision_start = self.svnrepo.initial_revision()
+ revision_start = 0
# now we know history is ok, we start at next revision
revision_start = revision_start + 1
diff --git a/swh/loader/svn/tests/test_loader.py b/swh/loader/svn/tests/test_loader.py
--- a/swh/loader/svn/tests/test_loader.py
+++ b/swh/loader/svn/tests/test_loader.py
@@ -302,7 +302,7 @@
repo_url,
status="full",
type="svn",
- snapshot=hash_to_bytes("c499eebc1e201024d47d24053ac0080049305897"),
+ snapshot=hash_to_bytes("5aa61959e788e281fd6e187053d0f46c68e8d8bb"),
)
stats = get_stats(loader.storage)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 12:16 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219380
Attached To
D6660: loader: Ensure to reload from first revision when history got altered
Event Timeline
Log In to Comment