Page MenuHomeSoftware Heritage

D5879.diff
No OneTemporary

D5879.diff

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

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

Event Timeline