There are old state files which don't have a version number in top of them and
hence we have to read them to check whether they are good or not.
ProgrammingError is not apt for this case. Thanks to Yuya for suggesting
CorruptedState error.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGdce718404ce6: state: raise CorruptedState error isntead of ProgrammingError
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.