diff -r c90ea9bbf327 -r 32837c7e2e4b mercurial/interfaces/repository.py --- a/mercurial/interfaces/repository.py Mon May 29 04:26:39 2023 +0200 +++ b/mercurial/interfaces/repository.py Sun May 28 05:23:46 2023 +0200 @@ -1404,6 +1404,14 @@ This one behaves the same way, except for manifest data. """ + def get_revlog(): + """return an actual revlog instance if any + + This exist because a lot of code leverage the fact the underlying + storage is a revlog for optimization, so giving simple way to access + the revlog instance helps such code. + """ + class imanifestlog(interfaceutil.Interface): """Interface representing a collection of manifest snapshots.