Show More
@@ -169,7 +169,7 b' def filelogaddrevision(orig, self, text,' | |||
|
169 | 169 | # Wrapping may also be applied by remotefilelog |
|
170 | 170 | def filelogrenamed(orig, self, node): |
|
171 | 171 | if _islfs(self, node): |
|
172 |
rawtext = self._revlog.r |
|
|
172 | rawtext = self._revlog.rawdata(node) | |
|
173 | 173 | if not rawtext: |
|
174 | 174 | return False |
|
175 | 175 | metadata = pointer.deserialize(rawtext) |
@@ -183,7 +183,7 b' def filelogrenamed(orig, self, node):' | |||
|
183 | 183 | def filelogsize(orig, self, rev): |
|
184 | 184 | if _islfs(self, rev=rev): |
|
185 | 185 | # fast path: use lfs metadata to answer size |
|
186 |
rawtext = self._revlog.r |
|
|
186 | rawtext = self._revlog.rawdata(rev) | |
|
187 | 187 | metadata = pointer.deserialize(rawtext) |
|
188 | 188 | return int(metadata['size']) |
|
189 | 189 | return orig(self, rev) |
General Comments 0
You need to be logged in to leave comments.
Login now