Submitter | phabricator |
---|---|
Date | May 23, 2018, 12:34 p.m. |
Message ID | <2606dc49d2e70a76e76a3596a17d033d@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/31821/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/state.py b/mercurial/state.py --- a/mercurial/state.py +++ b/mercurial/state.py @@ -72,8 +72,8 @@ try: int(fp.readline()) except ValueError: - raise error.ProgrammingError("unknown version of state file" - " found") + raise error.CorruptedState("unknown version of state file" + " found") return cbor.load(fp) def delete(self):