If the file is too small, the mmapread call would raise a ValueError. We catch
that and ignore nodemap content (as we do without mmap). This make the repository
slightly slower (until the next write) but usable. Unlike the current crash.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGa3720569a43f: nodemap: deal with data mmap error
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- stable
- Lint
No Linters Available - Unit
No Unit Test Coverage