mercurial/revlog.py
changeset 42994 3674797ae8b9
parent 42993 01304095256c
child 42995 73288e7abe9b
equal deleted inserted replaced
42993:01304095256c 42994:3674797ae8b9
   296     If censorable is True, the revlog can have censored revisions.
   296     If censorable is True, the revlog can have censored revisions.
   297 
   297 
   298     If `upperboundcomp` is not None, this is the expected maximal gain from
   298     If `upperboundcomp` is not None, this is the expected maximal gain from
   299     compression for the data content.
   299     compression for the data content.
   300     """
   300     """
       
   301 
       
   302     _flagserrorclass = error.RevlogError
       
   303 
   301     def __init__(self, opener, indexfile, datafile=None, checkambig=False,
   304     def __init__(self, opener, indexfile, datafile=None, checkambig=False,
   302                  mmaplargeindex=False, censorable=False,
   305                  mmaplargeindex=False, censorable=False,
   303                  upperboundcomp=None):
   306                  upperboundcomp=None):
   304         """
   307         """
   305         create a revlog object
   308         create a revlog object