# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 2015-05-21 20:20:34 # Node ID 4311e78a4609ec0df4b3b0a75ab6d130e5df258c # Parent 821e664924dcaa8bdd1e559ebcf55363a6c87655 error: derive RevlogError from HintException instead of Exception This will allow us to now pass hints into this exception. diff --git a/mercurial/error.py b/mercurial/error.py --- a/mercurial/error.py +++ b/mercurial/error.py @@ -18,7 +18,7 @@ class HintException(Exception): Exception.__init__(self, *args) self.hint = kw.get('hint') -class RevlogError(Exception): +class RevlogError(HintException): pass class FilteredIndexError(IndexError):