##// END OF EJS Templates
manifest: add rawsize() proxy (API)...
Gregory Szorc -
r39894:9534fe1e default
parent child Browse files
Show More
@@ -1569,6 +1569,9 b' class manifestrevlog(object):'
1569 1569 return self._revlog.addgroup(deltas, linkmapper, transaction,
1570 1570 addrevisioncb=addrevisioncb)
1571 1571
1572 def rawsize(self, rev):
1573 return self._revlog.rawsize(rev)
1574
1572 1575 def getstrippoint(self, minlink):
1573 1576 return self._revlog.getstrippoint(minlink)
1574 1577
@@ -1136,6 +1136,14 b' class imanifeststorage(interfaceutil.Int'
1136 1136 See the documentation in ``ifilemutation`` for more.
1137 1137 """
1138 1138
1139 def rawsize(rev):
1140 """Obtain the size of tracked data.
1141
1142 Is equivalent to ``len(m.revision(node, raw=True))``.
1143
1144 TODO this method is only used by upgrade code and may be removed.
1145 """
1146
1139 1147 def getstrippoint(minlink):
1140 1148 """Find minimum revision that must be stripped to strip a linkrev.
1141 1149
General Comments 0
You need to be logged in to leave comments. Login now