Mercurial > hg
comparison mercurial/policy.py @ 38133:dce718404ce6
state: raise CorruptedState error isntead of ProgrammingError
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.
Differential Revision: https://phab.mercurial-scm.org/D3644
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 23 May 2018 03:13:04 +0530 |
parents | 0304f22497fa |
children | 6104b203bec8 adacefb0b7ea |
comparison
equal
deleted
inserted
replaced
38132:2b8cb0ab231c | 38133:dce718404ce6 |
---|