If fncache does not ends with a newline, chunk will not be fully consumed. It
should be a bug somewhere or the fncache is corrupted if that happens. Let's
error out in such cases.
Details
Details
- Reviewers
 - None
 - Group Reviewers
 hg-reviewers - Commits
 - rHGa920a9e1795a: store: error out if fncache does not ends with a newline
 
Diff Detail
Diff Detail
- Repository
 - rHG Mercurial
 - Lint
 Lint Skipped - Unit
 Unit Tests Skipped 
Event Timeline
| mercurial/store.py | ||
|---|---|---|
| 485 | I'll s/ends/end/ in flight  | |
Comment Actions
Is there something that can be done to repair this, that should be suggested in the hint? I've seen fncache errors in the context of a corrupt repo, but I'm not sure what an end user would do with this message.
Comment Actions
Good point. Isn't there a debug command for rebuilding it? We can add a
hint about that.
I'll s/ends/end/ in flight