mercurial/repository.py
changeset 39858 9534fe1e5d28
parent 39851 1f7b3b980af8
child 39860 d9b3cc3d5d07
--- a/mercurial/repository.py	Mon Sep 24 09:37:19 2018 -0700
+++ b/mercurial/repository.py	Thu Sep 20 19:20:01 2018 -0700
@@ -1136,6 +1136,14 @@
         See the documentation in ``ifilemutation`` for more.
         """
 
+    def rawsize(rev):
+        """Obtain the size of tracked data.
+
+        Is equivalent to ``len(m.revision(node, raw=True))``.
+
+        TODO this method is only used by upgrade code and may be removed.
+        """
+
     def getstrippoint(minlink):
         """Find minimum revision that must be stripped to strip a linkrev.