##// END OF EJS Templates
rawdata: update caller in remotefilelog...
marmoute -
r43039:fdeb4c1d default
parent child Browse files
Show More
@@ -264,7 +264,7 b' class manifestrevlogstore(object):'
264 self._repackstartlinkrev = 0
264 self._repackstartlinkrev = 0
265
265
266 def get(self, name, node):
266 def get(self, name, node):
267 return self._revlog(name).revision(node, raw=True)
267 return self._revlog(name).rawdata(node)
268
268
269 def getdelta(self, name, node):
269 def getdelta(self, name, node):
270 revision = self.get(name, node)
270 revision = self.get(name, node)
@@ -569,7 +569,7 b' class fileserverclient(object):'
569 node = bin(id)
569 node = bin(id)
570 rlog = self.repo.file(file)
570 rlog = self.repo.file(file)
571 if rlog.flags(node) & revlog.REVIDX_EXTSTORED:
571 if rlog.flags(node) & revlog.REVIDX_EXTSTORED:
572 text = rlog.revision(node, raw=True)
572 text = rlog.rawdata(node)
573 p = _lfsmod.pointer.deserialize(text)
573 p = _lfsmod.pointer.deserialize(text)
574 oid = p.oid()
574 oid = p.oid()
575 if not store.has(oid):
575 if not store.has(oid):
@@ -262,7 +262,7 b' class remotefilelog(object):'
262 revision = None
262 revision = None
263 delta = self.revdiff(basenode, node)
263 delta = self.revdiff(basenode, node)
264 else:
264 else:
265 revision = self.revision(node, raw=True)
265 revision = self.rawdata(node)
266 delta = None
266 delta = None
267 yield revlog.revlogrevisiondelta(
267 yield revlog.revlogrevisiondelta(
268 node=node,
268 node=node,
@@ -277,8 +277,8 b' class remotefilelog(object):'
277 )
277 )
278
278
279 def revdiff(self, node1, node2):
279 def revdiff(self, node1, node2):
280 return mdiff.textdiff(self.revision(node1, raw=True),
280 return mdiff.textdiff(self.rawdata(node1),
281 self.revision(node2, raw=True))
281 self.rawdata(node2))
282
282
283 def lookup(self, node):
283 def lookup(self, node):
284 if len(node) == 40:
284 if len(node) == 40:
@@ -335,7 +335,7 b' def createfileblob(filectx):'
335 text = filectx.data()
335 text = filectx.data()
336 else:
336 else:
337 # lfs, read raw revision data
337 # lfs, read raw revision data
338 text = flog.revision(frev, raw=True)
338 text = flog.rawdata(frev)
339
339
340 repo = filectx._repo
340 repo = filectx._repo
341
341
General Comments 0
You need to be logged in to leave comments. Login now