# HG changeset patch # User Raphaël Gomès # Date 1613657265 -3600 # Node ID 3941fe53670dd57592ce3bfb31c5e4008b6e59da # Parent 357d2ea95ce9e5d2d24135489dd0d654c67816fc error: add `hint` attribute to `SidedataHashError` This prevents an exception within an exception because `hint` does not exist. Differential Revision: https://phab.mercurial-scm.org/D10024 diff -r 357d2ea95ce9 -r 3941fe53670d mercurial/error.py --- a/mercurial/error.py Fri Feb 19 11:17:16 2021 +0100 +++ b/mercurial/error.py Thu Feb 18 15:07:45 2021 +0100 @@ -55,6 +55,7 @@ class SidedataHashError(RevlogError): def __init__(self, key, expected, got): + self.hint = None self.sidedatakey = key self.expecteddigest = expected self.actualdigest = got