Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
diff --git a/mercurial/manifest.py b/mercurial/manifest.py
- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -57,7 +57,10 @@raise ValueError(b'Manifest lines not in sorted order.') prev = l f, n = l.split(b'\0')
- if len(n) > 40:
+ nl = len(n)
+ if 64 < nl:
+ yield f, bin(n[:64]), n[64:]
+ if 40 < nl < 45:yield f, bin(n[:40]), n[40:] else: yield f, bin(n), b''
elif 40 < nl:
otherwise full-width hash would be yielded twice.