mercurial/context.py
changeset 21710 14514dd542aa
parent 21692 5b2a2bea8cb6
child 21718 bc773e9505e3
--- a/mercurial/context.py	Sun Jun 01 16:01:01 2014 -0700
+++ b/mercurial/context.py	Tue Jun 03 13:49:51 2014 -0700
@@ -1609,6 +1609,8 @@
 
     def data(self):
         return self._data
+    def size(self):
+        return len(self.data())
     def flags(self):
         return self._flags
     def isexec(self):