Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9340763
D3019.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
547 B
Subscribers
None
D3019.diff
View Options
diff --git a/swh/loader/git/loader.py b/swh/loader/git/loader.py
--- a/swh/loader/git/loader.py
+++ b/swh/loader/git/loader.py
@@ -242,6 +242,10 @@
self.base_url = base_url
self.ignore_history = ignore_history
self.repo_representation = repo_representation
+ # state initialized in fetch_data
+ self.remote_refs = []
+ self.local_refs = {}
+ self.symbolic_refs = {}
def fetch_pack_from_origin(self, origin_url, base_snapshot, do_activity):
"""Fetch a pack from the origin"""
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 11:07 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221324
Attached To
D3019: git.loader: fix failing origin visit update step due to uninitialized internal state variables
Event Timeline
Log In to Comment