Comments
Patch
@@ -87,8 +87,6 @@
See the documentation of the ``_processflags`` method for details.
"""
- _flagserrorclass = error.RevlogError
-
def processflagswrite(revlog, text, flags, sidedata):
"""Inspect revision data flags and applies write transformations defined
by registered flag processors.
@@ -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):
@@ -51,6 +51,7 @@
class remotefilelog(flagutil.flagprocessorsmixin):
_generaldelta = True
+ _flagserrorclass = error.RevlogError
def __init__(self, opener, path, repo):
self.opener = opener