diff mercurial/manifest.py @ 39858:9534fe1e5d28

manifest: add rawsize() proxy (API) I'm not keen about doing this. But it unblocks efforts to remove "index" from the file storage interface. We will probably remove this once we have a better upgrade API in place. Differential Revision: https://phab.mercurial-scm.org/D4718
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 20 Sep 2018 19:20:01 -0700
parents b63dee7bd0d9
children 5a9ab91e0a45
line wrap: on
line diff
--- a/mercurial/manifest.py	Mon Sep 24 09:37:19 2018 -0700
+++ b/mercurial/manifest.py	Thu Sep 20 19:20:01 2018 -0700
@@ -1569,6 +1569,9 @@
         return self._revlog.addgroup(deltas, linkmapper, transaction,
                                      addrevisioncb=addrevisioncb)
 
+    def rawsize(self, rev):
+        return self._revlog.rawsize(rev)
+
     def getstrippoint(self, minlink):
         return self._revlog.getstrippoint(minlink)