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