##// END OF EJS Templates
context: add `decodeddata()` to basefilectx...
Phil Cohen -
r33902:f488223a default
parent child Browse files
Show More
@@ -1097,6 +1097,13 b' class basefilectx(object):'
1097 c = visit.pop(max(visit))
1097 c = visit.pop(max(visit))
1098 yield c
1098 yield c
1099
1099
1100 def decodeddata(self):
1101 """Returns `data()` after running repository decoding filters.
1102
1103 This is often equivalent to how the data would be expressed on disk.
1104 """
1105 return self._repo.wwritedata(self.path(), self.data())
1106
1100 def _annotatepair(parents, childfctx, child, skipchild, diffopts):
1107 def _annotatepair(parents, childfctx, child, skipchild, diffopts):
1101 r'''
1108 r'''
1102 Given parent and child fctxes and annotate data for parents, for all lines
1109 Given parent and child fctxes and annotate data for parents, for all lines
General Comments 0
You need to be logged in to leave comments. Login now