error: derive RevlogError from HintException instead of Exception
authorJordi Gutiérrez Hermoso <jordigh@octave.org>
Thu, 21 May 2015 16:20:34 -0400
changeset 25249 4311e78a4609
parent 25248 821e664924dc
child 25250 f9a29dc964a3
error: derive RevlogError from HintException instead of Exception This will allow us to now pass hints into this exception.
mercurial/error.py
--- 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):