mercurial/revlog.py
changeset 42994 3674797ae8b9
parent 42993 01304095256c
child 42995 73288e7abe9b
--- a/mercurial/revlog.py	Sat Sep 07 00:22:38 2019 +0200
+++ b/mercurial/revlog.py	Sat Sep 07 00:26:15 2019 +0200
@@ -298,6 +298,9 @@
     If `upperboundcomp` is not None, this is the expected maximal gain from
     compression for the data content.
     """
+
+    _flagserrorclass = error.RevlogError
+
     def __init__(self, opener, indexfile, datafile=None, checkambig=False,
                  mmaplargeindex=False, censorable=False,
                  upperboundcomp=None):