Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9313775
D5879.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
727 B
Subscribers
None
D5879.diff
View Options
diff --git a/requirements-swh.txt b/requirements-swh.txt
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -1,4 +1,4 @@
-swh.model >= 0.4.0
+swh.model >= 2.6.1
swh.storage >= 0.22.0
swh.scheduler >= 0.0.39
swh.loader.core >= 0.18.0
diff --git a/swh/loader/mercurial/identify.py b/swh/loader/mercurial/identify.py
--- a/swh/loader/mercurial/identify.py
+++ b/swh/loader/mercurial/identify.py
@@ -314,7 +314,7 @@
"""Return the SWHID of the given path."""
return CoreSWHID.from_string(
identify_object(
- "directory", follow_symlinks=True, exclude_patterns=[".hg"], obj=str(path)
+ "directory", follow_symlinks=True, exclude_patterns=[b".hg"], obj=str(path)
)
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 11:55 AM (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224891
Attached To
D5879: identify: Fix exclude_patterns parameter type for identify_object
Event Timeline
Log In to Comment