changeset 25249:4311e78a4609

error: derive RevlogError from HintException instead of Exception This will allow us to now pass hints into this exception.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 21 May 2015 16:20:34 -0400
parents 821e664924dc
children f9a29dc964a3
files mercurial/error.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/error.py	Thu May 21 16:28:06 2015 -0400
+++ b/mercurial/error.py	Thu May 21 16:20:34 2015 -0400
@@ -18,7 +18,7 @@
         Exception.__init__(self, *args)
         self.hint = kw.get('hint')
 
-class RevlogError(Exception):
+class RevlogError(HintException):
     pass
 
 class FilteredIndexError(IndexError):